vuetify-loader icon indicating copy to clipboard operation
vuetify-loader copied to clipboard

Vuetify 2 loader for vite

Open GabrielHangor opened this issue 1 year ago • 4 comments

Hey, currently migrating from vue-cli to vite. Is vuetify loader for vite and vuetify 2 even a thing?

GabrielHangor avatar Jul 13 '24 12:07 GabrielHangor

I am also interested in this. Migrating to vue 3 is not possible for us right now but vite is atleast the first step in the right direction.

meytin1337 avatar Oct 14 '24 10:10 meytin1337

I am also interested in this. Migrating to vue 3 is not possible for us right now but vite is atleast the first step in the right direction.

I am just using unplugin-vue-components with vuetify resolver, recently migrated

GabrielHangor avatar Oct 15 '24 20:10 GabrielHangor

Yes I also use unplugin-vue-components and so far everything seems to work as expected.

meytin1337 avatar Oct 22 '24 07:10 meytin1337

Appreciated unplugin-vue-components . It will makes sense to work well

jackhuynh95 avatar Oct 30 '24 04:10 jackhuynh95

Yes I have also tried unplugin-vue-components with VuetifyResolver but SASS variables doesn't work without this loader. Is there any way to configure it in vite config?

azuy212 avatar Oct 20 '25 08:10 azuy212

Take a look at https://github.com/vitejs/vite/discussions/12566#discussioncomment-5418403 You can use additionalData to import and your scss variables

AndreyYolkin avatar Oct 20 '25 10:10 AndreyYolkin

Take a look at vitejs/vite#12566 (comment) You can use additionalData to import and your scss variables

Just tried it and it worked perfectly! Thanks

azuy212 avatar Oct 20 '25 11:10 azuy212