x-team scroller for h5
# 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
.. 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.