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

[QUESTION] Auto-import custom directives #741

Open
go4cas opened this issue Mar 5, 2024 · 0 comments
Open

[QUESTION] Auto-import custom directives #741

go4cas opened this issue Mar 5, 2024 · 0 comments

Comments

@go4cas
Copy link

go4cas commented Mar 5, 2024

Is there a guideline on how to auto-import custom directives (Vue 3, using Vite)?

In the config, I have set directives: true and even added dirs: ['./src/components', './src/directives'],, but somehow I still get "Failed to resolve directive: format " warnings.

Anything else I missed in the config? How should the directive be structured in the file?

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

1 participant