利用create-react-app配置react環境,一鍵搞定。npm install -g create-react-appcreate-react-app myApp //myApp是項目名cd myApp/npm start //啓動reactreact