# cloudtrek-sidebar

> 云启企业微信侧边栏

Latest version **1.0.8** (published 2020-10-29) · 0 weekly downloads

## Install

```sh
npm install cloudtrek-sidebar
pnpm add cloudtrek-sidebar
yarn add cloudtrek-sidebar
bun add cloudtrek-sidebar
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.8 |
| Published | 2020-10-29 |
| First published | 2020-10-27 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 6.0.0 |
| Dependencies | 6 |
| Unpacked size | 2.1 MB |
| Known vulnerabilities | 0 (+26 in 2 direct dependencies) |
| Install scripts | no |
| Author | wginit |
| Maintainers | wginit |

## Links

- npm: https://www.npmjs.com/package/cloudtrek-sidebar
- npm.io page: https://npm.io/package/cloudtrek-sidebar

## Dependencies (6)

- [vue](https://npm.io/package/vue.md) ^2.5.2
- [axios](https://npm.io/package/axios.md) ^0.19.0
- [vue2-datepicker](https://npm.io/package/vue2-datepicker.md) ^3.7.0
- [vue-class-component](https://npm.io/package/vue-class-component.md) ^7.1.0
- [vue-infinite-scroll](https://npm.io/package/vue-infinite-scroll.md) ^2.0.2
- [vue-property-decorator](https://npm.io/package/vue-property-decorator.md) ^8.3.0

## Recent versions

- 1.0.8 (latest) — 2020-10-29
- 1.0.7 — 2020-10-28
- 1.0.6 — 2020-10-28
- 1.0.5 — 2020-10-28
- 1.0.4 — 2020-10-27
- 1.0.3 — 2020-10-27
- 1.0.2 — 2020-10-27
- 1.0.1 — 2020-10-27
- 1.0.0 — 2020-10-27

## README

<!--
 * @Author: wginit
 * @Date: 2019-09-27 19:12:56
 * @LastEditTime: 2019-11-11 09:29:37
 -->

# 云启企业微信侧边栏项目

### 安装组件

```javascript
npm i cloudtrek-sidebar --save
```

### 引入组件

```javascript
// main.js
/** 整体引入 */
import cloudtrekSidebar from 'cloudtrek-sidebar'
Vue.use(cloudtrekSidebar)

/** 按需引入 */
import { Customer, Material, Words } from 'cloudtrek-sidebar'
Vue.component(Customer) // 客户详情组件
Vue.component(Material) // 素材中心组件
Vue.component(Words) // 话术库组件
```

### Prop传参

```javascript
// 整体引入
<cloudtrekSidebar
  program="{
    name: '话术库',
    key: 'cloudtrek
  }"
  sideName="words"
/>

// 引入素材
<Material programName="cloudtrek" />

// 引入话术
<Words programName="cloudtrek" />

// 引入客户详情
<Customer programName="cloudtrek" />
```


## Build Setup

``` bash
# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run serve

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report
```

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