Join our community

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

Configure Secure and Clear Runtime Settings in Nuxt

In this lesson, you'll learn how to use Nuxt's runtime configuration to manage private secrets and public settings by separating them appropriately. You'll see how to define these configurations in your nuxt.config file and access them within your application using the useRuntimeConfig composable. Additionally, you'll learn how to override these values using environment variables for different environments.

Runtime Config: https://nuxt.com/docs/guide/going-further/runtime-config

Nuxt Configuration: https://nuxt.com/docs/getting-started/configuration