]> git.ipfire.org Git - thirdparty/vuejs/create-vue.git/commit
fix: revert to the `serve` script name for previewing
authorHaoqun Jiang <haoqunjiang@gmail.com>
Mon, 26 Jul 2021 11:28:45 +0000 (19:28 +0800)
committerHaoqun Jiang <haoqunjiang@gmail.com>
Mon, 26 Jul 2021 11:28:45 +0000 (19:28 +0800)
commit04bd773f06eb90094754ac6f05e5c62fc140bcbb
tree8d5094085af5f8a83627e4d83b9fb6bdcf17010a
parent46e4b8894f785715f395895e924fd32a6e996703
fix: revert to the `serve` script name for previewing

1. it's the default in vite templates, users might be used to it already
2. `preview` starts with a `pre` string, making npm failing to recognize
and auto-run the `prepreview` script before it
template/config/base/package.json
template/config/cypress/package.json