0.1.4 • Published 5 years ago
@wujinzhe/scroll-vue v0.1.4
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