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

docs: clarify access of RuntimeConfig with Options API - #8147

Merged
atinux merged 2 commits into
nuxt:mainfrom
toniengelhardt:patch-2
Oct 13, 2022
Merged

docs: clarify access of RuntimeConfig with Options API#8147
atinux merged 2 commits into
nuxt:mainfrom
toniengelhardt:patch-2

Conversation

@toniengelhardt

Copy link
Copy Markdown
Contributor

🔗 Linked issue

❓ 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

Since the public runtime config moved from $config into $config.public and the docs only mention use with Composition API it seemed to me at first that runtime config was not available in Options API. Therefore, added a small note so save other people a few minutes.

📝 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

@netlify

netlifyBot commented Oct 12, 2022

Copy link
Copy Markdown

Deploy Preview for nuxt3-docs ready!

NameLink
🔨 Latest commit4a6a0c0
🔍 Latest deploy loghttps://app.netlify.com/sites/nuxt3-docs/deploys/6347b544a259590008b3d4a4
😎 Deploy Previewhttps://deploy-preview-8147--nuxt3-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

Comment threaddocs/content/2.guide/4.going-further/10.runtime-config.md Outdated
@atinux
atinux merged commit a67249b into nuxt:mainOct 13, 2022
@danielroedanielroe mentioned this pull request Oct 13, 2022
7 tasks
@pi0pi0 mentioned this pull request Oct 18, 2022
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

@toniengelhardt@atinux@danielroe