UNPKG

1.67 kBMarkdownView Raw
1# 🐸 @omni-door/tpl-spa-vue
2The spa-vue project template
3
4[![NPM downloads](http://img.shields.io/npm/dm/%40omni-door%2Ftpl-spa-vue.svg?style=flat-square)](https://www.npmjs.com/package/@omni-door/tpl-spa-vue)
5[![npm version](https://badge.fury.io/js/%40omni-door%2Ftpl-spa-vue.svg)](https://badge.fury.io/js/%40omni-door%2Ftpl-spa-vue)
6[![install size](https://packagephobia.now.sh/badge?p=%40omni-door%2Ftpl-spa-vue)](https://packagephobia.now.sh/result?p=%40omni-door%2Ftpl-spa-vue)
7[![license](http://img.shields.io/npm/l/%40omni-door%2Ftpl-spa-vue.svg)](https://github.com/omni-door/tpls/blob/master/packages/tpl-spa-vue/LICENSE)
8
9## Install
10* Clone the repo: `git@github.com:omni-door/tpls.git`
11
12* Install with [Npm](https://www.npmjs.com/package/@omni-door/tpl-spa-vue): `npm install @omni-door/tpl-spa-vue`
13
14* Install with [Yarn](https://yarnpkg.com/en/package/@omni-door/tpl-spa-vue): `yarn add @omni-door/tpl-spa-vue`
15
16## Templates
17| folder | file |
18| --- | --- |
19| babel | configs/babel.config.js |
20| commitlint | configs/commitlint.config.js |
21| editor | .editorconfig |
22| eslint | configs/.eslintrc.js |
23| ignore | .eslintignore & .gitignore & .npmignore & .prettierignore |
24| jest | configs/jest.config.js |
25| new | the standard templates for `omni new` command |
26| omni | configs/omni.config.js |
27| package | package.json |
28| prettier | configs/prettier.config.js |
29| readme | README.md |
30| source | the standard templates in `src` folder |
31| stylelint | configs/stylelint.config.js |
32| tsconfig | tsconfig.json |
33| vsc | .vscode/settings.json |
34| webpack | contain `wepack.config.common.js`, `wepack.config.dev.js`, `wepack.config.prod.js` files |