Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ant-design/antd-init
:beginner: Ant Design boilerplate generator.
https://github.com/ant-design/antd-init
Last synced: 3 months ago
JSON representation
:beginner: Ant Design boilerplate generator.
- Host: GitHub
- URL: https://github.com/ant-design/antd-init
- Owner: ant-design
- Archived: true
- Created: 2015-10-27T09:29:25.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-11-04T09:26:58.000Z (over 6 years ago)
- Last Synced: 2024-10-29T04:06:12.006Z (4 months ago)
- Language: JavaScript
- Homepage:
- Size: 476 KB
- Stars: 816
- Watchers: 53
- Forks: 408
- Open Issues: 19
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
- awesome-ant-design - Antd Init - Ant Design boilerplate generator (for demo only, use dva-cli). (Tools)
README
# antd-init
[![NPM version](https://img.shields.io/npm/v/antd-init.svg?style=flat)](https://npmjs.org/package/antd-init)
[Ant Design](https://github.com/ant-design/ant-design) demo tool.
----
## ⚠️⚠️⚠️ antd-init@2 is for demo only. If you want to create projects, it's better to init with [create-umi](https://github.com/umiji/create-umi).
[umi](http://umijs.org/) is a routing-based framework that supports next.js-like conventional routing and various advanced routing functions, such as routing-level on-demand loading. With a complete plugin system that covers every life cycle from source code to build product, umi is able to support various functional extensions and business needs.
## ⚠️⚠️⚠️ antd-init@2 仅适用于 demo,如果你要开发项目,推荐使用 [create-umi](https://github.com/umiji/create-umi)。
[umi](http://umijs.org/) 是一个可插拔的企业级 react 应用框架。umi 以路由为基础的,支持类 next.js 的约定式路由,以及各种进阶的路由功能,并以此进行功能扩展,比如支持路由级的按需加载。然后配以完善的插件体系,覆盖从源码到构建产物的每个生命周期,支持各种功能扩展和业务需求。
## Install
```bash
$ npm i antd-init -g
```## Usage
Generate demo boilerplate.
```bash
$ mkdir foo && cd foo
$ antd-init
```Start development server.
```bash
$ npm start
```Build.
```bash
$ npm run build
```