haitaodesign / vue-cli-base

基于Vue CLI 的企业级快速初始化项目模板
5 stars 1 forks source link
scss vue vue-cli vue-router vuex

vue-cli-base

基于 Vue CLI 构建企业级项目最佳实践模板

技术选型

Vue 生态

  1. Vue
  2. Vue-Router
  3. Vuex
  4. Vue-Cli

第三方库

  1. webpack
  2. webpack-chain

项目结构

.
├── docs
│   ├── .vuepress
│   ├── changelog
│   ├── components
│   ├── guides
│   ├── specs
│   └── README.md
├── public
│   ├── favicon.ico
│   └── index.html
├── src
│   ├── api
│   ├── assets
│   ├── config
│   ├── main.js
│   ├── plugins
│   ├── router
│   ├── store
│   ├── utils
│   ├── views
│   └── App.vue
├── babel.config.js
├── package.json
├── postcss.config.js
├── README.md
├── vue.config.js
└── yarn.lock

Project setup

yarn install

Compiles and hot-reloads for development

yarn run serve

Compiles and minifies for production

yarn run build

Run your tests

yarn run test

Lints and fixes files

yarn run lint

Customize configuration

See Configuration Reference.