Environment Variables

UI Components for React
Post Reply
camstuart
Posts: 1
Joined: 28 Jan 2018, 12:02

28 Jan 2018, 12:11

Hi,

What id the correct approach to inject environment variables? So for example I want to use something like `BACKEND_API_URI` while in development it might be something like "http://localhost:3001/api", and when I build, have it set to something else.

Post Reply

Return to “PrimeReact”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 25 guests