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

docs: clarify access of RuntimeConfig with Options API#8147

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

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

Conversation

@toniengelhardt
Copy link
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

codesandbox bot commented Oct 12, 2022

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

@netlify
Copy link

netlify bot commented Oct 12, 2022

Deploy Preview for nuxt3-docs ready!

Name Link
🔨 Latest commit 4a6a0c0
🔍 Latest deploy log https://app.netlify.com/sites/nuxt3-docs/deploys/6347b544a259590008b3d4a4
😎 Deploy Preview https://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.

@atinux atinux merged commit a67249b into nuxt:main Oct 13, 2022
@danielroe danielroe mentioned this pull request Oct 13, 2022
7 tasks
@pi0 pi0 mentioned this pull request Oct 18, 2022
@danielroe danielroe added the 3.x label Jan 19, 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.

3 participants