Rapid Development with Vite
Plans from $25/month

This lesson is for members. Join us?

Subscribe now to get instant access to this course, plus a full library of Vue.js courses tailored to the plan you choose.

🚧 PLEASE NOTE: This course is outdated!

Environment Variables and Modes in Vite

In this lesson, we learn about the value of environment variables, how to define them with .env files, and how to access them in the source code.

When using environment variables in our Vite powered Vue projects we can provide alternate values for different environments and keep secret values secret.

Links