# @wltech/resolver

Latest version **0.0.0-dev.7** (published 2023-02-02) · MIT license · 0 weekly downloads

## Install

```sh
npm install @wltech/resolver
pnpm add @wltech/resolver
yarn add @wltech/resolver
bun add @wltech/resolver
```

## Health

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

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.0-dev.7 |
| Published | 2023-02-02 |
| First published | 2022-12-15 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 7.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | nova.zh |
| Maintainers | tiny778899, zhangyunhu, willing_third |

## Links

- npm: https://www.npmjs.com/package/@wltech/resolver
- Repository: http://gitlab.dev.weiling.cn/willing-frontend/resolver
- npm.io page: https://npm.io/package/@wltech/resolver

## Recent versions

- 0.0.0-dev.7 (latest) — 2023-02-02
- 0.0.0-dev.6 — 2022-12-15
- 0.0.0-dev.5 — 2022-12-15
- 0.0.0-dev.3 — 2022-12-15
- 0.0.0-dev.2 — 2022-12-15
- 0.0.0-dev.1 — 2022-12-15

## README

## 自动解析和导入 Wltech-UI 组件库



#### 安装

``` pnpm install @wltech/resolver -D```

#### vite.config.ts

```javascript
import { defineConfig, loadEnv, type UserConfigExport } from "vite";
import AutoImport from "unplugin-auto-import/vite";
import Components from "unplugin-vue-components/vite";
import { ElementPlusResolver } from "unplugin-vue-components/resolvers";
import { WltechUIResolver } from "@wltech/resolver";		// 卫瓴组件库自动导入插件

export default defineConfig(({ command, mode }) => {

  const config: UserConfigExport = {
    ...,
    plugins:[
      ...
      AutoImport({
        resolvers: [
          ElementPlusResolver(),
          WltechUIResolver()			// 卫瓴组件库自动导入插件
        ],
      }),
      Components({
        resolvers: [
          ElementPlusResolver(),
          WltechUIResolver()			// 卫瓴组件库自动导入插件
        ],
      }),
      ...
    ],
    ...
  }
  return config
}

```

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