Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

Awesome Lists containing this project

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
```