A Vue.js project
# 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
For detailed explanation on how things work, checkout the guide and docs for vue-loader.
##解释说明
##问题说明 在使用swiper中经常会Cannot read property 'offsetHeight' of undefined
是由于设置了scrollbar: '.swiper-scrollbar',而没有使用scrollbar