Issue
In my react application ,i have placed environment file named ".env.local" in src folder.And i have moved the firebaseConfig object to environment file.But i am getting an error which is telling that api key is not found.So ,what should i do to solve this problem.
Solution
You should place the ".env.local" file in the root of your application with the package.json file. Don't place the file in other folder.
Answered By - Anika Labiba Answer Checked By - Candace Johnson (PHPFixing Volunteer)
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.