project_travel_advisor
project_travel_advisor copied to clipboard
Google Places Key
can we use the env variable inside the script tag (in index.html) for the Places API?
Hey there ! In react, you can access your env variables and utilise them by placing between % symbols.
E.g, in your index.html in the public folder, you would write