Skip to content
On this page

快速上手

初始化框架

js
npm create hope

or

js
npm init hope

安装 pnpm

js
npm install pnpm -g

安装依赖

js
pnpm install

启动测试组件库项目

js
pnpm run hope:dev

打包示例组件库

这里需要先执行一次打包,因为组件库文档引用了打包后的文件;

js
pnpm run build:hope