Is it possible to import directive to individual component in the way shown below?
import ??? from "v-drag";
export default defineComponent({
directives:{???},
})
The use case are nested components distributes as Custom Elements (Web Components), where app.use() is not working. All imports must be done in the component itself.
https://vuejs.org/guide/extras/web-components.html#building-custom-elements-with-vue
Thanks!
Is it possible to import directive to individual component in the way shown below?
import ??? from "v-drag";export default defineComponent({directives:{???},})The use case are nested components distributes as Custom Elements (Web Components), where app.use() is not working. All imports must be done in the component itself.
https://vuejs.org/guide/extras/web-components.html#building-custom-elements-with-vue
Thanks!