In this lesson, we look at the two different ways we can supply configuration values to our app.
While both are reactive while the app is running, only the Runtime config can be updated after the app is built. This is useful for things that change between environments, like using different databases in your testing and staging and production environments.
App config can’t be set after build time, but it supports TypeScript fully, and can be changed on a per request basis. This lets us do things like change the app theme for every request that comes in, based on user preference.
Runtime vs. App config: https://nuxt.com/docs/getting-started/configuration#runtimeconfig-vs-appconfig
18 lessons
7 lessons
7 lessons
11 lessons
18 lessons
8 lessons
17 lessons