Closed benjii66 closed 9 months ago
When I use them on Next it's not working, I have to write it raw in my js files. Even adding them in my next config files isn't a good solution. I try to find a solution since few days now 🤔 ![Uploading Capture d'écran 2024-02-14 212646.png…]()
Okay after some research I have find a solution. Adding "NEXTPUBLIC"nameofmyvariable, in the local environment.
exemple : NEXT_PUBLIC_TOTO=123456
When I use them on Next it's not working, I have to write it raw in my js files. Even adding them in my next config files isn't a good solution. I try to find a solution since few days now 🤔 ![Uploading Capture d'écran 2024-02-14 212646.png…]()