dva-typescript-antd-starter-kit

996.icu LICENSE MIT Licence TypeScript HitCount

dva-typescript-antd-starter-kit

A admin dashboard application demo based on antd Now it is not perfect, then I will continue to improve the project. If you don’t understand Chinese, it doesn’t matter. Clone this repo and npm intall, You can use it directly.

Browser Support

Chrome Firefox Safari Opera Edge IE
Latest ✔ Latest ✔ No No No No

Demo

https://wanliyunyan.github.io/dva-typescript-antd-starter-kit/dist

Installation

npm install
npm install -g json-server # global

Running Dev Server

npm run dev

Building

npm run build

cnpm

如果你使用webstorm和阿里的cnpm那么,直接双击左下角npm中的cnpm即可

Mock

click mockjs,start mock data, You can see the effect of the mock data in the “列表页-查询表格”.

Linter

eslint:fix Can automatically repair a part of the code

styleint detect style

prettier format code

Babel

update to babel7

Webpack

update to webpack5

Contents

├── /build/                   
├── /dist/     
├── /mock/      
├── /src/              
│ ├── /assets/        
│ │ └── /images/       
│ │ └── /style/               
│ ├── /common/        
│ ├── /components/     
│ ├── /layouts/        
│ ├── /models/         
│ ├── /routes/         
│ ├── /services/       
│ ├── /utils/          
│ │ └── request.js     
│ │ └── utils.js 
│ ├── favicon.ico      
│ ├── index.html       
│ ├── index.less       
│ ├── index.tsx        
│ └── route.tsx 
├── .browserslistrc      
├── .editorconfig     
├── .eslintrc          
├── .gitignore  
├── .lintstagedrc     
├── .stylelintrc       
├── babel.config.js  
├── package.json       
├── postcss.config.js  
├── README.md  
├── tsconfig.json       
└── webpack.config.js  

Package

dependencies

devDependencies