/antd-init

:beginner: Ant Design boilerplate generator.

Primary LanguageJavaScript

antd-init

NPM version

Ant Design demo tool.


antd-init@2 is for demo only. If you want to create projects, it's better to init with dva-cli. dva is a redux and react based application framework. elm concept, support side effects, hmr, dynamic load and so on.

antd-init@2 仅适用于 demo,如果你要开发项目,推荐使用 dva-cli 进行项目初始化。dva 是一个基于 react 和 redux 的轻量应用框架,概念来自 elm,支持 side effects、热替换、动态加载等,已在生产环境广泛应用。

Install

$ npm i antd-init -g

Usage

Generate demo boilerplate.

$ mkdir foo && cd foo
$ antd-init

Start development server.

$ npm start

Build.

$ npm run build