Join our community

Get access to the complete guide to developing and deploying fast, production-ready Nuxt apps.

4-5 Adding Environment Variables

We’re mostly done with setting up Supabase, but we still have to set up our environment variables.

Environment variables are important in any app for two main reasons:

  1. Not storing sensitive data in our git repo
  2. Separating configuration from code

Adding environment variables to our local dev environment is pretty easy. And luckily for us, the awesome Netlify CLI tool makes it a breeze to instantly add them to our production environment as well!

Netlify CLI: https://docs.netlify.com/cli/get-started/ Nuxt Supabase module: https://supabase.nuxtjs.org/get-started