Skip to content
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

fix(nuxt): autoImport judgement #6937

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

byronogis
Copy link
Contributor

@byronogis byronogis commented Dec 8, 2024

Relevant #6007

Copy link

vercel bot commented Dec 8, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Skipped Deployments
Name Status Preview Updated (UTC)
primevue ⬜️ Ignored (Inspect) Visit Preview Dec 8, 2024 7:04pm
primevue-v3 ⬜️ Ignored (Inspect) Visit Preview Dec 8, 2024 7:04pm

@@ -45,7 +45,7 @@ function registerComponents(resolvePath: any, moduleOptions: ModuleOptions) {
global: true
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Additionally, perhaps the "global" here can be controlled from the options to enable or disable.
Like, ModuleOptions.components.global

Make a component global is not recommended.

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.

1 participant