1.1.0 • Published 8 years ago
generator-create-rsuite v1.1.0
create-suite
快速搭建 Rsuite 组件开发环境
用法
安装
# 确保全局安装
npm install -g yo
npm install -g generator-create-rsuite创建项目
# 创建并进入项目文件夹
mkdir your-project && cd your-project
// 使用脚手架安装项目
yo create-rsuite运行项目
等待 npm install 安装完成后,执行下面命令,打开 localhost:3000 即可运行项目。
npm run dev其他常用命令
npm run docs- 构建demonpm run publish-docs- 发布 demo 到 github-pagesnpm run build- 打包构建npm run test- 运行测试脚本npm run coverage- 生成测试覆盖率报告