Skip to content
This repository was archived by the owner on Apr 6, 2023. It is now read-only.
/frameworkPublic archive

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

Merged
clemcode merged 1 commit into
nuxt:mainfrom
blinpete:fix-example-config-extends
Jan 3, 2023
Merged

docs(examples): fix runtimeConfig usage in config-extends example#9912
clemcode merged 1 commit into
nuxt:mainfrom
blinpete:fix-example-config-extends

Conversation

@blinpete

Copy link
Copy Markdown
Contributor

❓ 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
Copy Markdown

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

@blinpeteblinpete changed the title docs(example): fix runtimeConfig usage in config-extends exampledocs(examples): fix runtimeConfig usage in config-extends exampleJan 2, 2023
@clemcode
clemcode merged commit f1ad355 into nuxt:mainJan 3, 2023
@danielroedanielroe mentioned this pull request Jan 20, 2023
Sign up for freeto 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.

3 participants

@blinpete@clemcode@danielroe