cloudtrek-sidebar

1.0.8 • Public • Published

云启企业微信侧边栏项目

安装组件

npm i cloudtrek-sidebar --save

引入组件

// 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传参

// 整体引入
<cloudtrekSidebar
  program="{
    name: '话术库',
    key: 'cloudtrek
  }"
  sideName="words"
/>

// 引入素材
<Material programName="cloudtrek" />

// 引入话术
<Words programName="cloudtrek" />

// 引入客户详情
<Customer programName="cloudtrek" />

Build Setup

# 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

Readme

Keywords

none

Package Sidebar

Install

npm i cloudtrek-sidebar

Weekly Downloads

1

Version

1.0.8

License

none

Unpacked Size

2.2 MB

Total Files

95

Last publish

Collaborators

  • wginit