Webpack: How upgrade vue and those dependencies?

Created on 9 Nov 2016  路  2Comments  路  Source: vuejs-templates/webpack

Vue 2.0.5 is released, but this template still using 2.0.1.

Most helpful comment

Thank you for you answer.

Run npm install vue --save will only upgrade vue, but those dependencies (e.g. vue-template-compiler) wouldn't.

So I removed the folder node_modules and run npm install again. (A simple way to upgrade all~ :D)

All 2 comments

It isn't. it's using ^2.0.1, which basically means "the latest version that matches 2.0.*, but at least 2.0.1". So new installations of this template would, right now, install 2.0.5.

You may want to familiarize yourself with semantic versioning and semver with npm

Hint: If you want to update an existing project folder that used this template, simply run npm install vue --save again.

Thank you for you answer.

Run npm install vue --save will only upgrade vue, but those dependencies (e.g. vue-template-compiler) wouldn't.

So I removed the folder node_modules and run npm install again. (A simple way to upgrade all~ :D)

Was this page helpful?
0 / 5 - 0 ratings