Webpack: Upgrade path from old template to new

Created on 13 Dec 2017  路  2Comments  路  Source: vuejs-templates/webpack

I'm working on a project that has been using this template for quite a while, it's still using mocha instead of jest and is using the express server instead of webpack-dev-server. I'd like to update the project to be inline with this template, is there a recommended method of doing that, or is it just up to me to reconcile the differences and apply them?

question

Most helpful comment

There's no easy upgrade path yet - we aim to solve this with vur-cli 3.

For now, the best way to go depends on the level of customization that you applied to the template.

Of you hardly changed anything, it's actually quite simple to roll out a fresh install of the template, copy all your source files and tests and replace everything in your original project directory with that.

Just make sure to adjust anything you changed in /config and /build afterwards.

All 2 comments

There's no easy upgrade path yet - we aim to solve this with vur-cli 3.

For now, the best way to go depends on the level of customization that you applied to the template.

Of you hardly changed anything, it's actually quite simple to roll out a fresh install of the template, copy all your source files and tests and replace everything in your original project directory with that.

Just make sure to adjust anything you changed in /config and /build afterwards.

alright thanks, I'm interested to see what changes vue-cli 3 will make. I ended up just going thru the main build files in each project and resolving differences. However it's rather tricky to manually remove the unneeded package.json devDeps

Was this page helpful?
0 / 5 - 0 ratings

Related issues

iawia002 picture iawia002  路  22Comments

gazpachu picture gazpachu  路  30Comments

ttquoccuong picture ttquoccuong  路  22Comments

boltonomous picture boltonomous  路  33Comments

zhangxin840 picture zhangxin840  路  33Comments