# @chenzoho/vue-install

> vue install

Latest version **1.0.1** (published 2023-11-23) · MIT license · 0 weekly downloads

## Install

```sh
npm install @chenzoho/vue-install
pnpm add @chenzoho/vue-install
yarn add @chenzoho/vue-install
bun add @chenzoho/vue-install
```

## Health

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

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2023-11-23 |
| First published | 2023-11-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 4.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | chenzoho |
| Maintainers | chenzehong |
| Keywords | vue, install |

## Links

- npm: https://www.npmjs.com/package/@chenzoho/vue-install
- npm.io page: https://npm.io/package/@chenzoho/vue-install

## Dependencies (1)

- [vue](https://npm.io/package/vue.md) ^3.3.4

## Recent versions

- 1.0.1 (latest) — 2023-11-23

## README

## 工具类库

### 导出VUE插件

#### 安装

```ts
pnpm install @chenzoho/utils-install
```

#### 使用

```ts
import Icon from "./src/Icon.vue"
import { withInstall } from "@chenzoho/utils-install"

// 导出组件AppIcon
export const AppSvgIcon = withInstall(SvgIcon)
export const AppIcon = withInstall(Icon)

// AppIcon可以全局注册
export function setupIcon(app: App<Element>): void {
	app.use(AppIcon)
	app.use(AppSvgIcon)
}
```

#### 更新记录

- 0.0.1
  - 初始版本
- 1.0.1
  - 可用版本

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