vue-cli3 第三版安装搭建项目

Vue CLI是一个用于快速Vue.js开发的完整系统

第三版结构更优雅,体验更好

官方:https://cli.vuejs.org/guide/

安装:https://cli.vuejs.org/guide/installation.html

# 安装
npm install -g @vue/cli

# 查看已安装版本
vue --version 或者 vue -V # 卸载 npm uninstall @vue/cli # 新建项目 vue create my-project # 项目启动 npm run serve # 打包 npm run build

自定义功能配置包括:

  1. TypeScript
  2. Progressive Web App (PWA) Support
  3. Router
  4. Vuex
  5. CSS Pre-processors
  6. Linter / Formatter
  7. Unit Testing
  8. E2E Testing

.

 

猜你喜欢

转载自www.cnblogs.com/xiangsj/p/9749451.html