這方法是官方推薦的懶人包,是最不用理會中間過程幹了什麼,比如說安裝了什麼,要打什麼指令都能大幅度避免。提供自動化的腳本讓你生成專案
npm install-g create-react-app create-react-app hello-world cd hello-world npm start #if have port PORT=8888 npm start