@wujinzhe/scroll-vue
v0.1.4
Published
基于better-scroll 的vue组件
Downloads
9
Maintainers
Readme
vue的scroll组件
使用
# 安装依赖
npm install @wujinzhe/scroll-vue -S
// 全局引入
import scroll from '@wujinzhe/scroll-vue'
Vue.use(scroll)
// 组件内引入
import scroll from '@wujinzhe/scroll-vue'
export default {
components: {
scroll
}
}
例子查看: https://github.com/wujinzhe/scroll-vue/blob/master/examples/views/demo1.vue