Skip to content

[vue] vue-cli3你有使用过吗?它和2.x版本有什么区别? #482

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
haizhilin2013 opened this issue Jun 22, 2019 · 2 comments
Open
Labels
vue vue

Comments

@haizhilin2013
Copy link
Collaborator

[vue] vue-cli3你有使用过吗?它和2.x版本有什么区别?

@haizhilin2013 haizhilin2013 added the vue vue label Jun 22, 2019
@ztyterry
Copy link

ztyterry commented Aug 7, 2019

Vue CLI 的包名称由 vue-cli 改成了 @vue/cli
vue cli 3 npm install -g @vue/cli
vue create hello-world

vue cli 2.x npm install -g vue-cli
vue init webpack my-project

@ajh99990
Copy link

ajh99990 commented Dec 3, 2019

vue-cli3.0 将webpack的配置集成了进来,使用vue-cli3.0创建的项目在配置webpack的时候可以直接在vue.config.js里面配置。既可以用chainwebpack的链式语法也可以直接在configureWebpack字段内直接写webpack原生的配置。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
vue vue
Projects
None yet
Development

No branches or pull requests

3 participants