vue-cli-plugins icon indicating copy to clipboard operation
vue-cli-plugins copied to clipboard

[Feature Request] Configure option for customizing sass & auto-install sass as devDependency

Open TechAkayy opened this issue 1 year ago • 0 comments

Currently, when adding vuetify using vue add vuetify, the 'Vite Preview' mode doesn't have a configure option. image

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

TechAkayy avatar Jul 16 '22 22:07 TechAkayy