文件名称:react-project-template:react + hooks + ES6 + webpack @ 4.X + babel @ 7.x
文件大小:78KB
文件格式:ZIP
更新时间:2024-05-26 23:20:02
JavaScript
react-project-template 如需使用 TypeScript, 请使用 typescript 分支 Have Fun ! 本地开发 git clone https://github.com/duuliy/react-project-template.git npm install or yarn npm start 访问(自动打开) http://localhost:8888/ 基本的 npm scripts 开始 npm start 打包 npm run build 升级所有包 npm run upgrade 测试 npm run test test:watch 相关技术栈 react@17 webpack@4 babel@7 react-router-dom@5 react-redux@7 antd@4 关于 jest 单测接口mock 网络请求 基于 axios 封装
【文件预览】:
react-project-template-master
----.eslintrc(4KB)
----postcss.config.js(68B)
----public()
--------favicon.ico(23KB)
----commitlint.config.js(260B)
----webpack.config.js(9KB)
----.prettierignore(49B)
----src()
--------index.html(219B)
--------pages()
--------services()
--------utils()
--------layouts()
--------stores()
--------config.js(309B)
--------components()
--------assets()
--------routers()
--------index.js(559B)
----.babelrc(755B)
----enzyme.config.js(255B)
----config()
--------index.js(183B)
----README.md(3KB)
----mock()
--------commonDetail.js(381B)
--------index.js(143B)
----.gitignore(213B)
----testBuild()
--------fileTransform.js(162B)
--------cssTransform.js(302B)
--------styleMock.js(20B)
--------fileMock.js(34B)
----.eslintignore(139B)
----package.json(4KB)