Put in order · Vue.js course · Module 12: Testing & Deploy
Accessing an env variable in code
Arrange the syntax for reading an environment variable in Vite:
Items to put in order
- .env
- import.meta
- .VITE_API_URL
You can check the correct answer by solving this task in the CodeWorlds game.