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

docs(examples): fix runtimeConfig usage in config-extends example #9912

Merged
merged 1 commit into from Jan 3, 2023

Conversation

blinpete
Copy link
Contributor

@blinpete blinpete commented Jan 2, 2023

❓ Type of change

  • πŸ“– Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

TheruntimeConfig part of the example doesn't work.
Deprecated publicRuntimeConfig prop isn't supported since v3.0.0-rc.14 (due to #9029).

Changing publicRuntimeConfig to runtimeConfig.public in nuxt.config.ts.

πŸ“ Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

@codesandbox
Copy link

codesandbox bot commented Jan 2, 2023

CodeSandbox logoCodeSandbox logoΒ  Open in CodeSandbox Web Editor | VS Code | VS Code Insiders

@blinpete blinpete changed the title docs(example): fix runtimeConfig usage in config-extends example docs(examples): fix runtimeConfig usage in config-extends example Jan 2, 2023
@clemcode clemcode merged commit f1ad355 into nuxt:main Jan 3, 2023
@danielroe danielroe added the 3.x label Jan 19, 2023
@danielroe danielroe mentioned this pull request Jan 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants