Skip to content

Commit

Permalink
feat(vue): support npm run serve command (#153)
Browse files Browse the repository at this point in the history
  • Loading branch information
y-lakhdar authored Apr 14, 2021
1 parent 54c88ad commit 375d6ce
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/vue-cli-plugin-typescript/generator/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ module.exports = (api, options, rootOptions) => {
api.extendPackage({
scripts: {
postinstall: 'node ./scripts/setup-server.js',
start: 'concurrently --raw "npm run start-server" "npm run serve"',
serve:
'concurrently --raw "npm run start-server" "vue-cli-service serve"',
start: 'npm run serve',
'start-server': 'node ./scripts/start-server.js',
},
dependencies: {
Expand Down

0 comments on commit 375d6ce

Please sign in to comment.