Jordan
Jordan

Reputation: 431

How to upgrade from Vuetify 1.5 to 2.0

I'm trying to use the [email protected] rather than the 1.5.13 that it automatically starts with when I use vue add Vuetify. then I try this post Update Vuetify version method. I do

vue create my-app
cd my-app
vue add Vuetify 
npm uninstall -S vuetify 
npm install -S [email protected]

and just get error

This dependency was not found:

* vuetify/src/stylus/app.styl in ./src/plugins/vuetify.js

To install it, you can run: npm install --save vuetify/src/stylus/app.styl

oh ok that's how install it. no that just gives an error too. Like I just want to start working with 2.0.0 so that when they release it- hopefully soon- I don't have to rebuild everything. Not sure why it's so hard like tell us in the docs how to do it not everybody is a wizard and googling the problem doesn't work

Upvotes: 9

Views: 9225

Answers (2)

Soorya
Soorya

Reputation: 701

Vuetify v2 does not use the stylus. Remove import 'vuetify/src/stylus/app.styl' from src/plugins/vuetify.js. Or downgrade your vuetify plugin to 1.5.x (not recomended).

Upvotes: 1

Kyle Joeckel
Kyle Joeckel

Reputation: 469

Comment out import 'vuetify/src/stylus/app.styl' in your src/plugins/vuetify.js file. add import 'vuetify/src/styles/main.sass' then npm install sass-loader

Upvotes: 14

Related Questions