Skip to content
项目

关于

无需配置构建即可创建 Vue 应用。

网站与应用开发

这些数字如何统计

可以做什么

  • Support all CSS preprocessors and CSS modules
  • Hot mode reloading
  • Unit tests with Jest with no config by default thanks to Tyu.
  • Progressive Web App by default, thanks to poi-preset-offline and offline-plugin.

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

create-vue-app

NPM version NPM downloads CircleCI donate chat

Features

  • No config until you need, thanks to Poi.
    • Support all CSS preprocessors and CSS modules
    • Hot mode reloading
  • Unit tests with Jest with no config by default thanks to Tyu.
  • Progressive Web App by default, thanks to poi-preset-offline and offline-plugin.

Install

yarn global add create-vue-app

Usage

# Generate project in cwd
mkdir my-vue-app && cd my-vue-app
create-vue-app .

# Generate project in specific folder
create-vue-app my-vue-app
cd my-vue-app

Alternatively, if you have Yarn^0.24, you can use the yarn create command:

yarn create vue-app my-vue-app

Folder structure

.
├── README.md
├── index.ejs
├── package.json
├── poi.config.js
├── src
│   ├── components
│   │   ├── App.test.js
│   │   └── App.vue
│   ├── index.js
│   └── polyfills.js
├── static
│   └── favicon.ico
└── yarn.lock

Recipes

FAQ

Where are the docs?

This project is using Poi under the hood, so for most questions, hopefully go to this page and you will get the answer.

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Author

create-vue-app © egoist, Released under the MIT License.
Authored and maintained by egoist with help from contributors (list).

egoistian.com · GitHub @egoist · Twitter @_egoistlily

探索相关项目

加载中…