第一步:建立腳手架react
npm install -g create-react-appnpm
第二步:建立react項目app
create-react-app react-projectspa
第三步:啓動項目create-react-app
npm start項目