Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ant-tool/antd-bin
Deprecated. Use antd-init instead
https://github.com/ant-tool/antd-bin
Last synced: 2 months ago
JSON representation
Deprecated. Use antd-init instead
- Host: GitHub
- URL: https://github.com/ant-tool/antd-bin
- Owner: ant-tool
- Created: 2015-06-23T09:15:56.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-03-30T07:41:48.000Z (almost 9 years ago)
- Last Synced: 2024-10-10T19:20:42.144Z (3 months ago)
- Language: JavaScript
- Homepage:
- Size: 137 KB
- Stars: 100
- Watchers: 24
- Forks: 27
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: HISTORY.md
Awesome Lists containing this project
README
# antd-bin
[![NPM version](https://img.shields.io/npm/v/antd-bin.svg?style=flat)](https://npmjs.org/package/antd-bin)
**本项目已废弃,请使用 https://ant-tool.github.io/**
Development tool for [Ant Design](https://github.com/ant-design/ant-design).
----
## 特性
- 基于 webpack 实现
- 支持 ES6 和 less
- 支持通过代理服务器进行调试 (antd-server)
- 支持单元测试 (antd-test)
- 支持自定义配置 webpack.config,[例子](./examples/customize-with-reactcss)## 使用说明
### 安装
```bash
$ npm i antd-init -g
```### 脚手架
```bash
$ antd-init
```这会创建一个 package.json,此外你还需要在 package.json 中配置 entry 来声明哪些是入口文件,格式详见:http://webpack.github.io/docs/configuration.html#entry
### 本地调试
```bash
$ npm run dev
```然后访问 http://127.0.0.1:8000 。
### 构建
```bash
$ npm run build
```