[Vuejs]-How to make vuetify stable

0👍

This is weird, try to clean npm dependencies, remove the folder node_modules, maybe you can remove the file package-lock.json or yarn.lock depending on which package manager are you using and install again, also you can try to clear cache of your package manager

In case you are using npm

rm -rf node_modules/
npm install

If the error persist execute

npm cache clear --force

And repeat the previous process

Warning: Be careful with these commands in production environments

0👍

Did you recently update from Vuetify 1 to 2? Pretty sure you are using style import from version 1, when Vuetify used stylus loader. Look for a line like

@import '~vuetify/src/stylus/main'

and remove it.

If you are not using vuetify-loader, add styles with

import 'vuetify/dist/vuetify.min.css'

otherwise vuetify-loader should handle it.

The setup for v2 with webpack setup is documented here

Leave a comment