部署react 项目

1.  git pull 进入项目目录里

2. npm install 

3. npm run build

4. cd build

5. python -m SimpleHTTPServer 8089

其中8089是端口号,python2

python 3 为python3 -m http.server 8089

posted @ 2019-10-10 15:50  LandingGuys  阅读(66)  评论(0编辑  收藏  举报