主要问题是脚手架添加.gitgnore文件,但是却没有本地仓库,按照以下顺序就可以正常使用
create-react-app test
cd test
git init git add . git commit -m 'Saving before ejecting'
npm run eject
主要问题是脚手架添加.gitgnore文件,但是却没有本地仓库,按照以下顺序就可以正常使用
create-react-app test
cd test
git init git add . git commit -m 'Saving before ejecting'
npm run eject