第一步 全局安裝 create-react-app
npm install -g create-react-app
第二步 通過create-react-app來構建自己的項目
create-react-app demo-app //demo-app是你要創建的項目名
第三步 執行
npm start
第一步 全局安裝 create-react-app
npm install -g create-react-app
第二步 通過create-react-app來構建自己的項目
create-react-app demo-app //demo-app是你要創建的項目名
第三步 執行
npm start