vuetifyjs / vue-cli-plugins

🔌 A collection of Vuetify plugins for Vue CLI
https://vuetifyjs.com/en/getting-started/quick-start#vue-cli-3
Other
427 stars 113 forks source link

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

Open TechAkayy opened 2 years ago

TechAkayy commented 2 years ago

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