N
Nuxt6mo ago
yashwp

How do I upgrade Vue? Is there a command for that or need to manually do npm install

How do I upgrade Vue 3.4.21 to 3.4.31? Is there a command for that or need to maually do npm install for vue package? I've used npm up vue that is not working
9 Replies
Zampa
Zampa6mo ago
Just change the version in package.json and rerun npm i
yashwp
yashwpOP6mo ago
There will be lot of dependent package. They might not work then right?
Zampa
Zampa6mo ago
When you run it if there are any dependencies that are mismatched it will tell you. should be fine
yashwp
yashwpOP6mo ago
Ahh! Manual update only.
Zampa
Zampa6mo ago
well, if you have the vue cli installed, it's just vue upgrade https://cli.vuejs.org/guide/installation
Zampa
Zampa6mo ago
but yeah it's easier to just manually update it
yashwp
yashwpOP6mo ago
No I don't. Nevermind, I'll do manually. Vue is now big enough to handle this task
Zampa
Zampa6mo ago
For what it's worth, Nuxt does have an upgrade command: https://nuxt.com/docs/api/commands/upgrade
Nuxt
nuxi upgrade · Nuxt Commands
The upgrade command upgrades Nuxt 3 to the latest version.
yashwp
yashwpOP6mo ago
Yea Nuxt has it.
Want results from more Discord servers?
Add your server