File tree 2 files changed +42
-12
lines changed
2 files changed +42
-12
lines changed Original file line number Diff line number Diff line change 1
- # oneday
1
+ # VueCnodeJS
2
2
3
- ## Project setup
4
- ```
5
- npm install
6
- ```
3
+ > 一个 Vue 的** 初/中级** 练手项目:重构 CnodeJS 社区
7
4
8
- ### Compiles and hot-reloads for development
9
- ```
10
- npm run serve
11
- ```
5
+ [ ** 预览** ] ( https://heuristic-stonebraker-33e1b8.netlify.com/#/ )
6
+
7
+ 这是我第一个真正意义上的 Vue 项目,共花了5天时间,每天大概3,4 个小时左右在这个项目上。除了` Vue.js ` 概念比较了解外,` Vue-router ` 和` Vue-resource ` 都是现学现用。之前还想着可能要花点时间学下新东西,但看了文档后才发现其实挺简单的...
12
8
13
- ### Compiles and minifies for production
9
+ ``` bash
10
+ PS: 如果你想入门Vue,但苦于没有难度合适的项目的话,Here For You!
11
+
12
+ 考虑到别人可能会看我源码来学习Vue,我添加了** 非常详细的注释** 。贴心吧,嘻嘻~
14
13
```
15
- npm run build
14
+
15
+ ** 2018-12-9:** 重构了项目:界面更美观,代码更优雅。
16
+
17
+ ** 2017-9-9:** 我又为本项目写了个[ Nuxt.js] ( https://zh.nuxtjs.org/ ) 的版本.完美解决了 SEO 问题(Vue 这种 MVVM 框架一直被人诟病没有解决 SEO,但是现在我们有了 Nuxt). 代码在` nuxtVersion ` 文件中. ** 需要注意的地方我写在了代码注释里**
18
+
19
+ ** 2017-5-24:** 如果你看完[ Vuex] ( https://vuex.vuejs.org/zh-cn/ ) 文档,对于如何把它应用到` 实际项目 ` 中还是有点茫然的话,那么我为这个项目写了一个 Vuex 版本。就在` vuexVersion ` 文件中。
20
+
21
+ ### 技术栈:
22
+
23
+ ---
24
+
25
+ [ Vue] ( https://cn.vuejs.org/ )
26
+
27
+ [ Vue-Router] ( https://router.vuejs.org/zh-cn/ )
28
+
29
+ [ Axios] ( https://github.com/axios/axios )
30
+
31
+ [ ElementUI] ( http://element.eleme.io/ )
32
+
33
+ [ CnodeJS API] ( https://cnodejs.org/api )
34
+
35
+ ### 本地运行:
36
+
37
+ ---
38
+
39
+ ``` bash
40
+ git clone https://github.com/shuiRong/VueCnodeJS.git
41
+ cd VueCnodeJS
42
+ npm install // 或者 yarn
43
+ npm run serve // 或者 yarn serve
16
44
```
45
+
46
+ PS: 默认用的是 8080 端口。
Original file line number Diff line number Diff line change 5
5
< meta http-equiv ="X-UA-Compatible " content ="IE=edge ">
6
6
< meta name ="viewport " content ="width=device-width,initial-scale=1.0 ">
7
7
< link rel ="icon " href ="<%= BASE_URL %>favicon.ico ">
8
- < title > 所见 </ title >
8
+ < title > VueCnodeJS </ title >
9
9
</ head >
10
10
< body >
11
11
< noscript >
You can’t perform that action at this time.
0 commit comments