Package Exports
- @shenluw/vue-roll
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@shenluw/vue-roll) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
vue-roll
一个基于better-scroll实现的横向滚动图片容器
demo

使用方法
<vue-roll :images="imgs"
:item-size="{height:'200px'}" >
</vue-roll>
<script>
import VueRoll from '@shenluw/vue-roll'
export default {
name: 'demo',
components: {
VueRoll,
},
data() {
return {
imgs: ['img url', ...]
}
},
}
</script>