question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

vue create --preset package install change vue version

See original GitHub issue

Version

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:closed
  • Created 4 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
sodateacommented, May 24, 2019

是的,建议都升级都最新版本

0reactions
mimimilecommented, May 24, 2019

@sodatea 因为在不知情的情况下 vue-template-compiler 会出现版本不兼容报错,我在使用第三方预设的时候会出问题,所以是不是要把 vue 相关依赖都升级到最新版本呢。

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found