# @xunserver/vui

> vu是vue3 + typescript实现ui框架，包括组件和网页开发中高频使用的service。使用@xunserver/style作为样式风格。

Latest version **0.0.2** (published 2022-12-04) · ISC license · 0 weekly downloads

## Install

```sh
npm install @xunserver/vui
pnpm add @xunserver/vui
yarn add @xunserver/vui
bun add @xunserver/vui
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2022-12-04 |
| First published | 2022-12-04 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 9.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | xunserver |

## Links

- npm: https://www.npmjs.com/package/@xunserver/vui
- npm.io page: https://npm.io/package/@xunserver/vui

## Recent versions

- 0.0.2 (latest) — 2022-12-04

## README

## 介绍
vu是vue3 + typescript实现ui框架，包括组件和网页开发中高频使用的service。使用@xunserver/style作为样式风格。

## 设计和技术栈
1. vue3 + typescript
2. rollup打包，支持esm和commonjs导入。
3. 支持dev调试模式，本地直接断点调试。

## 安装使用
### 全量引用
> npm i -D @xunserver/vui

在项目入口中引入样式和组件
```js
import Vue from 'vue';
import vui from '@xunserver/vui';
import '@xunserver/style/dist/index.css';

const app = Vue.createApp(AppVue).use(vui);
```

或者使用 @xunserver/cli中`xs add vui`

### 单个文件引入
支持单个组件按需引用。
```js
import Vue from 'vue';
import { button } from '@xunserver/vui';
import '@xunserver/style/dist/button.css';

const app = Vue.createApp(AppVue).use(button);
```

### 局部引入
```vue
<script setup>
import XsButton from '@xunserver/vui/dist/component/button';
import '@xunserver/style/dist/button.css';
</script>
```

---
_Source: https://npm.io/package/@xunserver/vui · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
