文件名称:react-admin:react 后台管理系统
文件大小:213KB
文件格式:ZIP
更新时间:2024-05-28 06:52:59
JavaScript
react后台模板架子练习 1.安装依赖 npm install or yarn 2.运行 npm start or yarn start 3. react-route4路由配置 此类型路由可适用在移动端 import React, { Component } from 'react' // import { Router, Route, IndexRedirect, Switch, Redirect, BrowserRouter } from 'react-router-dom'; import { Switch, Route, BrowserRouter } from 'react-router-dom' import Layouts from '../layout/layout.js' import Home from '../page/home/home.jsx' import
【文件预览】:
react-admin-master
----.gitignore(285B)
----README.md(2KB)
----test()
--------App.test.js(248B)
----public()
--------manifest.json(317B)
--------index.html(2KB)
--------favicon.ico(4KB)
----.eslintrc(1KB)
----package.json(3KB)
----src()
--------components()
--------page()
--------routes()
--------layout()
--------registerServiceWorker.js(4KB)
--------api()
--------index.js(270B)
--------style()
--------util()
----scripts()
--------build.js(5KB)
--------start.js(3KB)
--------test.js(732B)
----config()
--------polyfills.js(856B)
--------webpack.config.dev.js(12KB)
--------jest()
--------env.js(3KB)
--------webpack.config.prod.js(16KB)
--------paths.js(2KB)
--------webpackDevServer.config.js(5KB)
----yarn.lock(245KB)
----package-lock.json(447KB)