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

The auto-import Vue APIs does not work. #91

Open
alukos opened this issue Feb 24, 2024 · 1 comment
Open

The auto-import Vue APIs does not work. #91

alukos opened this issue Feb 24, 2024 · 1 comment

Comments

@alukos
Copy link

alukos commented Feb 24, 2024

Nuxt auto-imports components, composables, helper functions and Vue APIs.
But we need to explicitly import as in your example
It would be great to add this functionality.

@alukos alukos changed the title The Vue APIs auto import does not work The auto-import Vue APIs does not work. Feb 24, 2024
@chakAs3
Copy link
Contributor

chakAs3 commented Feb 27, 2024

@alukos the auto-imports is up to you in your Nuxt project. whatever your style. in this example i used existing pinia example. and personally i prefer being explicit when it comes to Vue API imports.

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

No branches or pull requests

2 participants