I need to make a reusable packageable vue component and upload it to npm for my own use in different projects. Am also using vuetify for the styles. And am building it with vue-cli-service.
When I test the component with npm run serve
(using the vue cli) works but once i transpile it and use it in other libraries, doesn't works correctly.
What I need is to know if there is any way of creating vue libraries with vuetify dependencies.
Code sandbox of project:
https://codesandbox.io/s/optimistic-glade-j9icu?file=/package.json
Code sandbox to test the transpiled libraries
https://codesandbox.io/s/fast-pond-cs6l9?file=/src/plugins/vuetify.js
Repository:
https://github.com/Tauromachian/v-number-stepper.git
Any information would be helpful, I used vue-cli-service as it appears to be the easiest choice but am willing to change to rollup or webpack.