Skip to content

Commit 75a880b

Browse files
committed
add project run method
1 parent be226c1 commit 75a880b

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

README.md

+11
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,17 @@
66

77
> 这是一个模仿知乎界面的简单React demo。这个React demo能让你从零开始学习React,并逐渐掌握React。
88
9+
** 项目运行 **
10+
```javascript
11+
$ git clone https://github.com/tsrot/react-zhihu.git
12+
$ cd react-zhihu
13+
14+
$ npm install
15+
16+
$ bower install
17+
18+
$ gulp server //用浏览器打开 localhost:5000
19+
```
920

1021

1122
## 搭建开发环境

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
"gulp-browserify": "^0.5.1",
1818
"gulp-concat": "^2.6.0",
1919
"gulp-connect": "^5.0.0",
20+
"gulp-git": "^1.12.0",
2021
"gulp-react": "^3.1.0",
2122
"lodash": "^4.16.6",
2223
"reactify": "^1.1.1"

0 commit comments

Comments
 (0)