File tree Expand file tree Collapse file tree 1 file changed +51
-0
lines changed Expand file tree Collapse file tree 1 file changed +51
-0
lines changed Original file line number Diff line number Diff line change 2
2
3
3
[ Live demo] ( http://damonowl.himmas.cc/vue-cnode/demo )
4
4
5
+
6
+ # 项目说明
7
+
8
+ 该项目为实操vue所写的SPA,本来为多人协作,本人为了学习到更多的vue实践操作而单独进行。感谢[ cnode社区] ( https://cnodejs.org/ ) 提供的api,感谢男叔和我开耐心指点及讲解。
9
+
10
+ # 技术范畴
11
+ vue + vue-router + axios + less + ES6;使用webpack进行打包
12
+
13
+ # 功能
14
+
15
+ * 主题列表,上拉加载
16
+ * 主题分类
17
+ * 主题详情,回复
18
+
19
+ # 目录结构
20
+ .
21
+ ├── build # 构建脚本
22
+ │ ├── dev-server.js # development server script
23
+ │ ├── webpack.base.conf.js # shared base webpack config
24
+ │ ├── webpack.dev.conf.js # development webpack config
25
+ │ ├── webpack.prod.conf.js # production webpack config
26
+ │ └── ...
27
+ ├── config # 配置文件
28
+ │ ├── dev.env.js
29
+ │ ├── index.js
30
+ │ └── prob.env.js
31
+ │
32
+ ├── node_modules # node模块依赖
33
+ ├── src
34
+ │ ├── components # 组件文件夹
35
+ │ │ ├── a.vue # 单文件组件
36
+ │ │ ├── b.vue
37
+ │ │ └── ...
38
+ │ ├── router # 路由
39
+ │ │ ├── router.js
40
+ │ │ └── routes.js
41
+ │ ├── asserts # 资源文件夹
42
+ │ │ ├── images # 图片
43
+ │ │ ├── css # 样式表
44
+ │ │ └── fonts # 字体
45
+ │ │
46
+ │ ├── main.js # webpack entry
47
+ │ └── ...
48
+ │
49
+ │
50
+ │
51
+ ├── static # 静态资源目录
52
+ └── package.json
53
+
54
+
55
+
5
56
## Build Setup
6
57
7
58
``` bash
You can’t perform that action at this time.
0 commit comments