1.0.5 • Published 5 years ago

cil-vue-web-component v1.0.5

Weekly downloads
30
License
-
Repository
-
Last release
5 years ago

cil-vue-web-component

a vue web component

How To Use

配置vux-loader

组件依赖了vux库,需要在build/webpack.base.conf.js增加配置,详情见vux-loader配置

const vuxLoader = require('vux-loader')
module.exports = vuxLoader.merge(webpackBaseConfig, {
    plugins: ['vux-ui]
})

安装依赖

npm install cil-vue-web-component -S
npm install axios -S

在main.js中引入组件

// 所有组件都会被注册为全局组件
import 'cil-vue-web-component'

直接使用即可

// 验证码组件使用
<template>
  <div id="app">
    <captcha :show.sync='isShow' :urls='captchaUrls'></captcha>
  </div>
</template>

For a detailed explanation on how things work, check out the guide and docs for vue-loader.

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago