GithubHelp home page GithubHelp logo

wpanglelina / dva-ts-react-antd Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ronffy/dva-ts-react-antd

0.0 1.0 0.0 690 KB

🌱 基于Dva和TypeScript的后台管理系统框架

License: MIT License

JavaScript 16.35% TypeScript 64.21% CSS 16.42% HTML 3.03%

dva-ts-react-antd's Introduction

基于Dva和TypeScript的后台管理系统框架

React roadhog dva Ant Design

介绍

安装

yarn
# or
npm install

开发

npm run dev

构建

npm run build

项目目录

├── /dist/             # 项目输出目录
├── /mock/             # 数据mock
├── /src/              # 项目源码目录
│ ├── /public/         # 公共文件,编译时copy至dist目录
│ ├── /components/     # UI组件及UI相关方法
│ │ ├── /Component/    # 单个UI组件目录
│ │ │ ├── index.less   # 单个UI组件的样式
│ │ │ └── index.tsx    # 单个UI组件
│ │ └── index.tsx      # UI组件对外输出口
│ ├── /routes/         # 路由组件
│ │ └── app.tsx        # 路由入口
│ ├── /models/         # 数据模型
│ ├── /services/       # 数据接口
│ ├── /themes/         # 项目样式
│ ├── /interfaces/     # TS接口文件目录
│ │ └── index.tsx      # 定义全局TS接口,如models的接口等
│ ├── /configs/        # 项目常规配置
│ │ └── Apis.ts        # api配置
│ ├── /utils/          # 工具函数
│ │ └── request.js     # 异步请求函数
│ ├── route.tsx        # 路由配置
│ ├── index.tsx        # 入口文件
│ ├── index.less       # 全局样式
│ └── index.ejs        # 入口html
├── package.json       # 项目信息
├── theme.config.js    # 主题样式配置引入文件
├── tsconfig.json      # TypeScript配置
├── alias.config.js    # 配置webpackConfig.resolve.alias
├── .roadhogrc.mock.js # 配置mock
├── globals.d.ts       # 配置TS全局的声明文件
├── tslint.json        # TSlint配置
└── webpackrc.js       # roadhog配置

dva-ts-react-antd's People

Contributors

ronffy 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.