部署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

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章