A loading vue-component for web development dependencies vue 2.0
# install dependencies
npm install dp-vue-loading
# serve with hot reload at localhost:8899
npm run dev
# build for production with minification
npm run build
使用方法
template:
<pageloading :dp-show="false" :duration="3000"></pageloading>
script main.js:
import pageloading from 'dp-vue-loading'
Vue.use(pageloading)
For a detailed explanation on how things work, check out the guide and docs for vue-loader.