vue create --preset package install change vue version
See original GitHub issueVersion
3.7.0
Reproduction link
Environment info
vue 创建预设的时候 vue的包 安装了不是配置文件的版本 安装了最新版。
Steps to reproduce
vue create --preset
What is expected?
generator “vue”: “^2.5.21”,
What is actually happening?
generator “vue”: “^2.6.10”,
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Plugins and Presets - Vue CLI
Presets saved during vue create are stored in a configuration file in your user home directory ( ~/.vuerc ). You can directly edit...
Read more >How to upgrade Vue version - Stack Overflow
You can upgrade it through vue cli. npm install -g @vue/cli. OR yarn global add @vue/cli. then vue upgrade.
Read more >On the way to Vue Js.. Create Your First project App ... - Medium
NPM (Node Package Manager) is used to install packages. You can use it to install Vue within either a new or existing project....
Read more >Getting Started With the Vue CLI - Stack Abuse
Getting Started With the Vue CLI · vue --version · vue -V · npm install -g @vue/cli // Or $ yarn global add...
Read more >Vue JavaScript Tutorial in Visual Studio Code
To install and use the Vue CLI as well as run the Vue application server, you'll need the Node.js JavaScript runtime and npm...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
是的,建议都升级都最新版本
@sodatea 因为在不知情的情况下 vue-template-compiler 会出现版本不兼容报错,我在使用第三方预设的时候会出问题,所以是不是要把 vue 相关依赖都升级到最新版本呢。