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?
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 addeddirs: ['./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?