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
Just try the command npm install vuetify --save . It will update with latest one.
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.
The current latest stable version of Vue is v3. 2.39.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With