dva-typescript-antd-starter-kit

授权协议 MIT License
开发语言 JavaScript
所属分类 Web应用开发、 常用JavaScript包
软件类型 开源软件
地区 不详
投 递 者 袁俊弼
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

MIT Licence

dva-typescript-antd-starter-kit

A admin dashboard application demo based on antdNow 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

  • @ant-design/icons A UI Design Language..
  • 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.
  • dayjs Day.js 2KB immutable date-time library alternative to Moment.js with the same modern API.
  • 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.
  • query-string Parse and stringify URL query strings.
  • react A declarative, efficient, and flexible JavaScript library for building user interfaces.
  • 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.
  • swr React Hooks library for remote data fetching.

devDependencies

 相关资料
  • create-ts-lib Quick Start You can execute the create-ts-lib CLI using npx or by installing it globally with npm i -g create-ts-lib. # Use NPX or npm install -g create-ts-lib to install it as a global

  • Postlight's Modern Serverless Starter Kit adds a light layer on top of the Serverless framework, giving you the latest in modern JavaScript (ES6 via Webpack, TypeScript if you want it, testing with Je

  • Starter for Node.js Express API in Typescript. Requirements Node.js Yarn NPM Docker Docker Compose Getting Started Clone the repository, install the dependencies. $ git clone git@github.com:cham11ng/t

  • TypeScript Node Starter The main purpose of this repository is to show a working Node.js API Server + front-end project and workflow for writing Node code in TypeScript. It is not a goal to be a compr

  • TypeScript MERN Starter Live Demo: https://typescript-mern-starter.azurewebsites.net/ Supported Clients Preview Web Web (Mobile) Android iOS This project built a real blog app for all platforms in Typ

  • React Webpack Typescript Starter Minimal starter with hot module replacement (HMR) for rapid development. React (17.x) Webpack (5.x) Typescript (4.x) Hot Module Replacement (HMR) (React Hot Loader) Pr