Update framework
-
How to update quasar framework to the latest, not the CLI
My app running on v0.14.0 , the latest is v0.14.3Can i update it from the CLI ?
-
npm update quasar-framework
-
thank you @rstoenescu , npm update quasar-framework
-
@rashidnk you can do
yarn upgrade
if you use yarn. It updates all packages based on package.json and updates yarn.lock, kind of like how composer works. -
If you just use yarn upgrade it upgrades Vue.js to 2.4 which is currently not supported by Quasar, due to a Vue bug.
-
@a47ae as i said both
npm update quasar-framework
andyarn upgrade
updates package based on package.json. Currently vue version is"vue": "~2.3.4"
on package.json so no, both command wouldn’t update vue to 2.4 but to the latest 2.3.x version. Refer here, https://docs.npmjs.com/misc/semver#tilde-ranges-123-12-1 -
@Suraj Sorry my bad, I was looking at the output of
yarn outdated
which obviously lists Vue as outdated and thought it would also update Vue with ayarn upgrade
.
Also in earlier versions of Quasar (pre 0.14) the Vue dependency wasn’t locked with the tilde