# Jackery UI Component 123

jackery官网常用自定义UI组件以及插件集合.

已构建npm远程, 使用 [jackery-ui](https://www.npmjs.com/package/jackery-ui).

# Jackery UI

基于[stencil](https://stenciljs.com/) 构建的Web Components.

Web Components 没有框架限制，可在任何平台直接使用

## Getting Started

To start building a new web component using Stencil, clone this repo to a new directory:

```bash
git clone https://github.com/zzl-leo/jackery-components my-component
cd my-component
git remote rm origin
```

本地运行:

```bash
npm install
npm start
```

生产构建:

```bash
npm run build
```

## Components命名

当创建新组件时，名称需遵循连接符格式，如：jackery-comment

## Using this component

发布到NPM使用 [publish to NPM](https://docs.npmjs.com/getting-started/publishing-npm-packages).

### Script tag

- CDN使用 `<script type='module' src='https://unpkg.com/my-component@0.0.1/dist/my-component.esm.js'></script>` 案例参照[CODEPEN](https://codepen.io/zzl-leo/pen/LYMbPPG)


