Update readme.md

This commit is contained in:
xsf 2016-08-22 10:09:24 +08:00 committed by GitHub
parent 2bf4b2c248
commit 5595c260cb

View File

@ -1,6 +1,6 @@
# Example VUE-SPA # Example VUE-SPA
- 有问题请联系qq416175716 - If you have any questions, please contacts by my QQ:416175716(有问题请联系qq416175716)
- 欢迎提出意见和建议! - Any helpful suggestions would be welcome欢迎提出意见和建议!
## How to use ## How to use
``` bash ``` bash
@ -38,30 +38,30 @@ npm run wb
## Construction ## Construction
<pre> <pre>
.gitignore # 忽略无需git控制的文件 比如 node_modules ──.gitignore # 忽略无需git控制的文件 比如 node_modules
package.json # 项目配置 ──package.json # 项目配置
readme.md # 项目说明 ──readme.md # 项目说明
index.html # 首页 ──index.html # 首页
index.tpl # 首页模板 在发布的时候 执行 PRODUCTION=1 webpack 会生成一个d.html并注入脚本样式达到版本控制的目的 ──index.tpl # 首页模板 在发布的时候 执行 PRODUCTION=1 webpack 会生成一个d.html并注入脚本样式达到版本控制的目的
webpack.config.js # webpack 配置文件 ──webpack.config.js # webpack 配置文件
├─node_modules ├─node_modules
└─src └─src
app.js # 启动配置,配置路由,过滤器 ──app.js # 启动配置,配置路由,过滤器
app.vue # 主vue ──app.vue # 主vue
filters.js # 过滤器 ──filters.js # 过滤器
routers.js # 路由 ──routers.js # 路由
├─components # 组件 ├─components # 组件
my-component.vue │──my-component.vue
├─css # 公用样式 ├─css # 公用样式
common.css │──common.css
└─views # 页面 └─views # 页面
about.vue ──about.vue
home.vue ──home.vue
not-found.vue ──not-found.vue
</pre> </pre>
##学习参考 ##学习参考