Code Monkey home page Code Monkey logo

dva-typescript-antd-starter-kit's Introduction

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.

About

The structure of the project imitates ant-design-pro,but without using the default configuration of dva, manually configure webpack4. The package in the project uses the latest version.

Browser Support

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

Demo

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

Installation

npm install

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

tslint:fix Can automatically repair a part of the code

styleint detect style

prettier format code

Babel

update to babel7

react-hot-loader

dynamic import react-hot-loader in development mode

Contents

├── /build/                   
├── /dist/     
├── /mock/      
├── /src/              
│ ├── /assets/        
│ │ └── /images/       
│ │ └── /style/        
│ │ └── /svg/          
│ ├── /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      
├── tslint.json        
└── webpack.config.js  

Package

dependencies

  • antd A UI Design Language.
  • axios Promise based HTTP client for the browser and node.js.
  • classnames A simple javascript utility for conditionally joining classNames together.
  • dva Lightweight front-end framework based on redux, redux-saga and react-router.
  • dva-loading Auto loading plugin for dva. 👏 You don't need to write showLoading and hideLoading any more.
  • lodash A modern JavaScript utility library delivering modularity, performance, & extras.
  • mockjs A simulation data generator.
  • moment A lightweight JavaScript date library for parsing, validating, manipulating, and formatting dates.
  • query-string Parse and stringify URL query strings.
  • react A declarative, efficient, and flexible JavaScript library for building user interfaces.
  • react-container-query Parse CSS and add vendor prefixes to rules by Can I Use.
  • react-dom This package serves as the entry point of the DOM-related rendering paths. It is intended to be paired with the isomorphic React, which will be shipped as react to npm.
  • react-hot-loader Tweak React components in real time.
  • react-perf-devtool A browser developer tool extension to inspect performance of React components.

devDependencies

dva-typescript-antd-starter-kit's People

Contributors

wanliyunyan avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.