npm.io
1.1.0 • Published 4 years ago

generator-create-rsuite

Licence
ISC
Version
1.1.0
Deps
1
Vulns
0
Weekly
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 - 构建demo
  • npm run publish-docs - 发布 demo 到 github-pages
  • npm run build - 打包构建
  • npm run test - 运行测试脚本
  • npm run coverage - 生成测试覆盖率报告

Keywords