y-design-ssr
Version:
SSR component library of YUI with Vue3
32 lines (23 loc) • 481 B
Markdown
## 一个基于 VUE3 的 UI 组件库
### 安装
```
npm i y-design-ssr@lasted
```
或使用yarn、pnpm
### 使用
```
// 全量引入
import { createApp } from 'vue';
import YUI from 'y-design-ssr';
import 'y-design-ssr/libs/index.css';
const app = createApp();
app.use(YUI);
```
```
// 按需引入
import { createApp } from 'vue';
import YButton from 'y-design-ssr/libs/button';
import 'y-design-ssr/lib/button/index.css';
const app = createApp();
app.use(YButton);
```