Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

Commit

Permalink
docs: singular
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Sep 23, 2022
1 parent c7e6bea commit 427a965
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/content/bridge/1.overview.md
Expand Up @@ -151,7 +151,7 @@ In case you need to extend options provided by `./.nuxt/tsconfig.json` further,

## Update Runtime Config

Nuxt 3 approaches runtime configs differently than Nuxt 2, using a new combined `runtimeConfig` option.
Nuxt 3 approaches runtime config differently than Nuxt 2, using a new combined `runtimeConfig` option.

First, you'll need to combine your `publicRuntimeConfig` and `privateRuntimeConfig` properties into a new one called `runtimeConfig`, with the public config within a key called `public`.

Expand All @@ -171,7 +171,7 @@ First, you'll need to combine your `publicRuntimeConfig` and `privateRuntimeConf
+ }
```

This also means that when you need to access public runtime config, it's behind a property called `public`. If you use public runtime configs, you'll need to update your code.
This also means that when you need to access public runtime config, it's behind a property called `public`. If you use public runtime config, you'll need to update your code.

```diff
// MyWidget.vue
Expand Down

0 comments on commit 427a965

Please sign in to comment.