Open TechAkayy opened 2 years ago
Currently, when adding vuetify using vue add vuetify, the 'Vite Preview' mode doesn't have a configure option.
vue add vuetify
When the user wants to customize sass variables, they have to set the styles: 'expose' in vite config (as per https://github.com/vuetifyjs/vuetify-loader/tree/next/packages/vite-plugin#customising-variables) & import the overriding sass file in vuetify.js. What this means is 'sass' becomes a required devDependency. The user has to now install sass as a devDependency on their own.
styles: 'expose'
As part of adding vuetify via vue add vuetify, when Vite becomes a default, we could add an configure option to customise sass variables, and if the user chooses to, then include sass as a devDependency to package.json
Currently, when adding vuetify using
vue add vuetify
, the 'Vite Preview' mode doesn't have a configure option.When the user wants to customize sass variables, they have to set the
styles: 'expose'
in vite config (as per https://github.com/vuetifyjs/vuetify-loader/tree/next/packages/vite-plugin#customising-variables) & import the overriding sass file in vuetify.js. What this means is 'sass' becomes a required devDependency. The user has to now install sass as a devDependency on their own.As part of adding vuetify via
vue add vuetify
, when Vite becomes a default, we could add an configure option to customise sass variables, and if the user chooses to, then include sass as a devDependency to package.json