@nuxt/docs-nightly 4.1.2-29289186.ceff3aa8 → 4.1.2-29291601.8d11d08f
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -100,7 +100,7 @@ const runtimeConfig = useRuntimeConfig()
|
|
|
100
100
|
|
|
101
101
|
## App Configuration
|
|
102
102
|
|
|
103
|
-
The `app.config.ts` file, located in the source directory (by default
|
|
103
|
+
The `app.config.ts` file, located in the source directory (by default `app/`), is used to expose public variables that can be determined at build time. Contrary to the `runtimeConfig` option, these cannot be overridden using environment variables.
|
|
104
104
|
|
|
105
105
|
A minimal configuration file exports the `defineAppConfig` function containing an object with your configuration. The `defineAppConfig` helper is globally available without import.
|
|
106
106
|
|
package/6.bridge/6.meta.md
CHANGED
|
@@ -23,7 +23,7 @@ export default defineNuxtConfig({
|
|
|
23
23
|
|
|
24
24
|
### Update head properties
|
|
25
25
|
|
|
26
|
-
In your `nuxt.config`, rename `head` to `
|
|
26
|
+
In your `nuxt.config`, rename `head` to `app.head`. (Note that objects no longer have a `hid` key for deduplication.)
|
|
27
27
|
|
|
28
28
|
::code-group
|
|
29
29
|
|