Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 408
Jordan Avatar asked Apr 27 '19 05:04

Jordan


People also ask

How do I update Vuetify to latest version?

Just try the command npm install vuetify --save . It will update with latest one.

Does Vuetify work with Vue 2?

When creating a new project, please ensure you selected Vue 2 from the Vue CLI prompts, or that you are installing to an existing Vue 2 project. For information on how to use Vue CLI, visit the official documentation . Now that you have an instantiated project, you can add the Vuetify Vue CLI package using the cli.

What is the latest Vue version?

The current latest stable version of Vue is v3. 2.39.


1 Answers

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

like image 54
Kyle Joeckel Avatar answered Sep 20 '22 15:09

Kyle Joeckel