1.3.2 • Published 5 years ago
vue-loading-template v1.3.2
vue-loading-template
Use SVG for loading.
Demo: https://jkchao.github.io/vue-loading/
Start
npm install vue-loading-template --save
Options
Example in SPA
<template>
<div>
<h2>bars</h2>
<vue-loading type="bars" color="#d9544e" :size="{ width: '50px', height: '50px' }"></vue-loading>
</div>
</template>
<script>
import { VueLoading } from 'vue-loading-template'
export default {
name: 'app',
components: {
VueLoading
}
}
</script>
Or you can install it in your main.js
// main.js
import Vue from 'vue'
import VueLoading from 'vue-loading-template'
Vue.use(VueLoading, /** options **/)
If you use it in TypeScript, you can:
// main.ts
import Vue from 'vue'
import vueLoading, { VueLoadingOptions } from 'vue-loading-template'
Vue.use<VueLoadingOptions>(VueLoading, /** options **/)
so, you will receive the tip about optional options.
License
MIT
1.3.2
5 years ago
1.3.1
5 years ago
1.3.0
6 years ago
1.2.0
6 years ago
1.1.1
6 years ago
1.1.0
6 years ago
1.0.5
6 years ago
1.0.4
6 years ago
1.0.3
6 years ago
1.0.2
6 years ago
1.0.1
6 years ago
1.0.0
6 years ago
0.5.1
6 years ago
0.5.0
6 years ago
0.1.7
7 years ago
0.1.6
7 years ago
0.1.5
7 years ago
0.1.4
7 years ago
0.1.3
7 years ago
0.1.2
7 years ago
0.1.1
7 years ago
0.1.0
7 years ago
0.0.9
7 years ago
0.0.8
7 years ago
0.0.7
7 years ago
0.0.6
7 years ago
0.0.4
7 years ago
0.0.3
7 years ago
0.0.2
7 years ago
0.0.1
7 years ago