8000 GitHub - xugaoyang/blog_admin: react exercise
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

xugaoyang/blog_admin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

参考技术胖react实战教程,作为react练手项目

博客后台管理系统

结构目录

|-- public
|-- src
|   |-- api
|       |-- index.js // api导出出口
|       |-- base.js  // 接口域名管理
|       |-- ... // 其他模块api接口
|   |-- assets
|       |-- css
|       |-- img
|       |-- libs
|   |-- config
|   |-- pages
|   |-- store // 状态管理库
|   |-- utils // 工具库
|       |-- http.js // axios 封装
|   |-- index.js
|-- .env.dev
|-- .env.production
|-- package.json

功能完善:

  • 使用three.js美化登陆界面,效果参考iview首页粒子波纹效果
  • 登出功能
  • bundle分析
  • webpack配置(eject||react-app-rewired)
  • eslint + lint-staged + prettier
  • 封装axios
  • 路由标签 react-router
  • react-redux(添加redux-persist数据持续)
  • 登陆鉴权(JWT)
  • 抽取路由文件
bundle分析,先构建,再运行分析脚本
npm run build
npm run analyze

About

react exercise

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0