# @wu-component/common

> > TODO: description

Latest version **2.0.3** (published 2023-12-10) · ISC license · 0 weekly downloads

## Install

```sh
npm install @wu-component/common
pnpm add @wu-component/common
yarn add @wu-component/common
bun add @wu-component/common
```

## Health

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

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.3 |
| Published | 2023-12-10 |
| First published | 2022-08-28 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >= 10 |
| Dependencies | 0 |
| Unpacked size | 1.1 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 218 |
| Author | Marvin |
| Maintainers | canyuegongzi |

## Links

- npm: https://www.npmjs.com/package/@wu-component/common
- Repository: https://github.com/wu-component/web-component-plus
- Homepage: https://github.com/wu-component/web-component-plus#readme
- Issues: https://github.com/wu-component/web-component-plus/issues
- npm.io page: https://npm.io/package/@wu-component/common

## Recent versions

- 2.0.3 (latest) — 2023-12-10
- 2.0.0 (next) — 2023-02-26
- 2.0.1 — 2023-02-26
- 1.11.8 — 2023-02-16
- 1.11.7 — 2023-02-16
- 1.11.6 — 2023-02-15
- 1.11.4 — 2023-02-14
- 1.11.3 — 2023-02-14
- 1.11.1 — 2023-02-13
- 1.11.0 — 2023-02-13
- 1.10.6 — 2023-02-13
- 1.10.5 — 2023-02-13
- 1.10.4 — 2023-02-13
- 1.10.3 — 2023-02-13
- 1.10.2 — 2023-02-13
- … 26 more at https://npm.io/package/@wu-component/common/versions

## README

## 组件说明

这是一个基于 WebComponent 的组件，内部已经集成 web-core-plus。

### 环境搭建

#### 开发

该命令用于本地启动一个热更新的服务，用于本地开发。

```bash

npm run dev:package

```

#### 构建

该命令用于打包 webComponent， 该命令会构建出 umd、es、cjs 三种格式的产物，umd 格式可以直接在浏览器中预览效果。

```bash

npm run build:package

```

#### 预览

该命令用于预览效果，浏览器默认打开根目录 index.html 文件， index.html 按需要修改，

```bash

npm run example:package

```

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