【React】React项目实践中的问题
报错'react-scripts' 不是内部或外部命令,也不是可运行的程序
React新建脚手架项目,在目录下添加了public\index.html,src\App.js,index.js文件,除此之外,需要node_modules文件夹,不然会报该错误
遇到报错,npm install react-scripts然后npm start就可以启动了
Typo in static class property declaration react/no-typos
引入时,变量首字母要小写 propTypes
参考资料
浙公网安备 33010602011771号