Skip to content

Commit 38f4e6b

Browse files
committedDec 8, 2018
补充文档;修改网站Title;
1 parent bdb8213 commit 38f4e6b

File tree

2 files changed

+42
-12
lines changed

2 files changed

+42
-12
lines changed
 

‎README.md

+41-11
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,46 @@
1-
# oneday
1+
# VueCnodeJS
22

3-
## Project setup
4-
```
5-
npm install
6-
```
3+
> 一个 Vue 的**初/中级**练手项目:重构 CnodeJS 社区
74
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`都是现学现用。之前还想着可能要花点时间学下新东西,但看了文档后才发现其实挺简单的...
128

13-
### Compiles and minifies for production
9+
```bash
10+
PS: 如果你想入门Vue,但苦于没有难度合适的项目的话,Here For You!
11+
12+
考虑到别人可能会看我源码来学习Vue,我添加了**非常详细的注释**。贴心吧,嘻嘻~
1413
```
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
1644
```
45+
46+
PS: 默认用的是 8080 端口。

‎public/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<meta http-equiv="X-UA-Compatible" content="IE=edge">
66
<meta name="viewport" content="width=device-width,initial-scale=1.0">
77
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
8-
<title>所见</title>
8+
<title>VueCnodeJS</title>
99
</head>
1010
<body>
1111
<noscript>

0 commit comments

Comments
 (0)
Please sign in to comment.