Skip to content

Fix wording about component use with <script setup> #1682

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 2, 2022

Conversation

leopiccionia
Copy link
Contributor

@leopiccionia leopiccionia commented Apr 23, 2022

Fix #1638.

The first paragraph mentions that:

A Vue component needs to be "registered" so that Vue knows where to locate its implementation when it is encountered in a template. There are two ways to register components: global and local.

Now that the content contradicts it, I wonder if we need to reword it, too.

@netlify
Copy link

netlify bot commented Apr 23, 2022

Deploy Preview for vuejs ready!

Name Link
🔨 Latest commit bba90ae
🔍 Latest deploy log https://app.netlify.com/sites/vuejs/deploys/62641ea62ab6aa00080ed2a2
😎 Deploy Preview https://deploy-preview-1682--vuejs.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.

Copy link
Contributor

@dammy001 dammy001 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

docs wrongly say that in script setup components are automatically registered locally when they are not
3 participants