文件名称:react-antd4-dome:后台管理系统模板,基于 react+react-router+react-redux+antd 开发
文件大小:1.77MB
文件格式:ZIP
更新时间:2024-06-18 15:42:59
JavaScript
React-shop-dome 项目初始化 1、react脚手架 create-react-app react-shop-dome 删除多于文件src留下App.js以及index.js,并把对应引入删掉 2、引入antd和antd-mobile 1.下载依赖包 npm install antd antd-mobile -S 2.实现按需加载 npm install babel-plugin-import react-app-rewired customize-cra --dev 修改package.json "scripts": { - "start": "react-scripts start", + "start": "react-app-rewired start", - "build": "react-scripts build", + "build":
【文件预览】:
react-antd4-dome-master
----package.json(1KB)
----config-overrides.js(823B)
----package-lock.json(643KB)
----src()
--------index.js(303B)
--------assets()
--------api()
--------views()
--------routers()
--------components()
--------App.js(874B)
--------utils()
--------store()
----.gitignore(310B)
----public()
--------logo192.png(5KB)
--------manifest.json(492B)
--------robots.txt(67B)
--------index.html(1KB)
--------logo512.png(9KB)
--------favicon.ico(3KB)
----README.md(17KB)