目前已经完成了
- Button
- Card
- Dialog
- Input
- Switch
- Table
- Tabs
推荐使用 npm 安装
npm install laby-ui --save
或使用 yarn
yarn add laby-ui --save
- Vue3
- TypeScript
根据部署到 Github Pages 和自己服务器(以 nginx 为例),有不同的配置
修改 vite.config.ts
中的 base
字段为 './'
修改 src/router.ts
中的 history
为 hash 模式
修改 vite.config.ts
中的 base
字段为 '/'
修改 src/router.ts
中的 history
为 history 模式
重点调整 Global.ts
里的定义