Closed ricardovanlaarhoven closed 2 years ago
Which preset is being selected when this occurs?
For vuetify the default/recommended for vue:
? Check the features needed for your project: Choose Vue version, Babel, TS, PWA, Router, Vuex, CSS Pre-processors, Linter, Unit, E2E
? Choose a version of Vue.js that you want to start the project with 2.x
? Use class-style component syntax? No
? Use Babel alongside TypeScript (required for modern mode, auto-detected polyfills, transpiling JSX)? Yes
? Use history mode for router? (Requires proper server setup for index fallback in production) Yes
? Pick a CSS pre-processor (PostCSS, Autoprefixer and CSS Modules are supported by default): Sass/SCSS (with dart-sass)
? Pick a linter / formatter config: Prettier
? Pick additional lint features: Lint on save, Lint and fix on commit
? Pick a unit testing solution: Jest
? Pick an E2E testing solution: Cypress
? Where do you prefer placing config for Babel, ESLint, etc.? In dedicated config files
Unfortunately due to the version of sass-loader
being installed from Vue CLI we need to force the sass-loader
dependency version to be >=10.1.0
to prevent a long list of Sass deprecation warnings in regards to using Math.div
for division versus using /
(Likewise for other math operations).
Are there any build errors known?
Using newer version (^10.0.0), but this may cause build errors.
In my case everything seems to work, but perhaps we should take a look into that. Should we raise this issue to vue-cli?
Same problem here, only now with higher version numbers. Using vue-cli
5.0.1:
WARN conflicting versions for project dependency "sass-loader":
- ^12.0.0 injected by generator "undefined"
- ^10.0.0 injected by generator "vue-cli-plugin-vuetify"
Using newer version (^12.0.0), but this may cause build errors.
When i use the
vue create
command, and after that thevue add vuetify
i'm getting the following warning: