Skip to content

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

Open
@haizhilin2013

Description

@haizhilin2013
Collaborator

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

Activity

ztyterry

ztyterry commented on Aug 7, 2019

@ztyterry

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

ajh99990 commented on Dec 3, 2019

@ajh99990

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @haizhilin2013@ztyterry@ajh99990

        Issue actions

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