por-wheel

A Vue.js project

Usage no npm install needed!

<script type="module">
  import porWheel from 'https://cdn.skypack.dev/por-wheel';
</script>

README

por-wheel

一个基于vue的轮播插件

使用步骤

# 安装该插件方法
npm install por-wheel --save

#在项目中使用
import PorWheel from 'por-wheel'
Vue.use(PorWheel)
#在组件中使用规范
<por-wheel :options="options" />
#options是一个对象,这里面包含的内容有
imgs: 图片字符串
width: 轮播图的宽度/Number
height: 轮播图的高度/Number
duration:轮播间隔/ms
options={
 imgs:'one.png,two.png,three.png',
 width:500,
 height:300,
 duration:1500
} 

For detailed explanation on how things work, consult the docs for vue-loader.