1.0.8 • Published 6 years ago
xt-scroll v1.0.8
y-scroll
x-team scroller for h5
Build Setup
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
# build for production and view the bundle analyzer report
npm run build --report
usage
.. main.js import yScroll from 'yScroll' Vue.use(yScroll) .. component .. this.list = '11111111111 ', '111111111112 ', '111111111113 ', '111111111114 ', '111111111115 ', '111111111116 '
For a detailed explanation on how things work, check out the guide and docs for vue-loader.