Great work. I am also trying to do something similar however I have two questions:
How to you initialize Vuetify within your component library? I see that Vuetify was installed as dev dependency but I didn't see that it was initialized from your component library.
Are you saying that creating the library with vue rollup can cause issues and that's why you switched to vue-cli? what kind of issues? I am also using vue rollup!
I will update it on this post soon, thanks. I don't initialized it inside my lib, I do it inside my project consuming my lib, on Nuxt(most of our projects) I include Vuetify module on nuxt.config like this vuetifyjs.com/en/getting-started/i..., and for a Vue-CLI project I imported Vuetify and add the commom Vue.use(Vuetify).
I had issues to build my scss files, I remember I as trying to building it to separated files on dist folder and couldn't make it works, it was with some rollup plugin. If you could share your project or a sandbox of it with rollup, I would appreciate to see it.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Great work. I am also trying to do something similar however I have two questions:
How to you initialize Vuetify within your component library? I see that Vuetify was installed as dev dependency but I didn't see that it was initialized from your component library.
Are you saying that creating the library with vue rollup can cause issues and that's why you switched to vue-cli? what kind of issues? I am also using vue rollup!
Nice questions mate.
I will update it on this post soon, thanks. I don't initialized it inside my lib, I do it inside my project consuming my lib, on Nuxt(most of our projects) I include Vuetify module on
nuxt.config
like this vuetifyjs.com/en/getting-started/i..., and for a Vue-CLI project I imported Vuetify and add the commomVue.use(Vuetify)
.I had issues to build my scss files, I remember I as trying to building it to separated files on dist folder and couldn't make it works, it was with some rollup plugin. If you could share your project or a sandbox of it with rollup, I would appreciate to see it.