open-index/open-npm huggingface dataset:
npm package: @kunsenzeng/k-vuecomply
Description: Vue3 components library
Latest version: 1.0.1

# k-vuecomply

### 安装

```bash
pnpm i @kunsenzeng/k-vuecomply --save
```

### 开始使用

**全局使用**

```js
// 引入所有组件
import KVuecomply from "@kunsenzeng/k-vuecomply";
// 引入样式
import "@kunsenzeng/k-vuecomply/dist/style.css";

import App from "./App.vue";
// 全局使用
createApp(App).use(KVuecomply).mount("#app");
```

```vue
<template>
  <k-button>我是 kButton</k-button>
</template>
```

**单个导入**

k-vuecomply 提供了基于 ES Module 的开箱即用的 Tree Shaking 功能。

```vue
<template>
  <Button>我是 kButton</Button>
</template>
<script>
import { Button } from " @kunsenzeng/k-vuecomply";
export default {
  components: { Button },
};
</script>
```

[更多使用方法请点击查看。。。](https://kblog-kunszeng-86adea60bd3e2a438b942745a0bddad7eff5162c29f6d364.gitlab.io/)