I'm using Nuxt.js 1.2 in my project, but I want to update it to latest version. How to do it? What needs to be considered when updating the version?
Simply run: yarn upgrade nuxt@^2.3.2
As stated here:
Please note that for upgrading Nuxt.js just changing version inside
package.jsonis not enough. Please use yarn upgrade or npm upgrade so that the final directory structure ofnode_moduleswill be correct. In case of problems clean upnode_modulesandyarn.lock/package-lock.json.
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