使用netlify功能进行React 源码
初始化项目并安装一些依赖项(然后从yarn切换回npm) npm init react-app netlify-react-app cd netlify-react-app rm -rf ./node_modules/ yarn.lock npm i && npm up npm i -D npm-run-all prettier netlify-lambda 更新package.json中的脚本部分 " scripts " : { " build " : " run-p build:** " , " build:app " : " react-scripts build " ,
文件列表
react-app-with-netlify-functions-master.zip
(预估有个21文件)
react-app-with-netlify-functions-master
.gitignore
338B
functions
hello.js
128B
package.json
1KB
package-lock.json
556KB
src
setupTests.js
255B
index.js
452B
logo.svg
3KB
暂无评论