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

Increase SASS compilation time by default when scaffolding new Vuetify project #203

Closed Mikilll94 closed 3 years ago

Mikilll94 commented 4 years ago

https://vuetifyjs.com/en/customization/sass-variables/#sass-variables

On this page, docs says that it is possible to increase drastically SASS compilation by replacing this line:

import Vuetify from 'vuetify/lib

with this line:

import Vuetify from 'vuetify/lib/framework'

I know that there are some vuetify-loader limitations which may mute this gain, but I have found that they are not very common. IMO this performance gain should be enabled by default when scaffolding a new project using vue-cli-plugin-vuetify.

Related issues to this SASS compilation performance problem:

joncfoo commented 3 years ago

Additionally, the latter part of this comment needs to be applied when using TypeScript. https://github.com/vuetifyjs/vuetify-loader/issues/44#issuecomment-718089393