https://github.com/niceue/vue-project
"webpack3 + vue2" project initialization
https://github.com/niceue/vue-project
eslint vue-router vue2 vuex webpack2
Last synced: about 2 months ago
JSON representation
"webpack3 + vue2" project initialization
- Host: GitHub
- URL: https://github.com/niceue/vue-project
- Owner: niceue
- Created: 2017-02-01T08:41:17.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-01-19T03:34:14.000Z (over 8 years ago)
- Last Synced: 2025-03-29T23:12:01.562Z (about 1 year ago)
- Topics: eslint, vue-router, vue2, vuex, webpack2
- Language: JavaScript
- Homepage:
- Size: 92.8 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## 关于
这是自用的 vue2.0 项目的脚手架,集成(使用)以下技术:
- [webpack 3.0](https://webpack.js.org/)
- [eslint 4.0](http://eslint.org/)
- [vue 2.5+](http://cn.vuejs.org/)
- [vuex 3.0](https://vuex.vuejs.org/zh-cn/)
- [vue-router 3.0](http://router.vuejs.org/zh-cn/)
- [axios](https://github.com/axios/axios)
- [stylus](https://github.com/stylus/stylus)
- [autoprefixer](https://github.com/postcss/autoprefixer)
- [postcss-flexbox](https://github.com/archana-s/postcss-flexbox)
- [postcss-remify](https://github.com/OakMX/postcss-remify)
## 开始使用
全局安装`yarn`
``` bash
# 执行如下命令后访问 localhost:8000
npm run dev
# 编译
npm run build
```
---
## 快速参考文档
### [postcss-flexbox](https://github.com/archana-s/postcss-flexbox)
#### box:
```
box: [horizontal | horizontal-reverse | vertical | vertical-reverse]
[top | bottom]
[left | right]
[center | middle]
[space-between | space-around]
[wrap | wrap-reverse]
```
##### box-item
```
box-item: [top | center | bottom | left | middle | right | stretch]
[flex-auto | flex-none | flex-1 ... flex-12]
```