<spinner
:status="spinnerStatus"
:color="spinnerColor"
:size="spinnerSize"
:depth="spinnerDepth"
:rotation="spinnerRotation"
:speed="spinnerSpeed"></spinner>
$ npm install vue-spinner-component
var Spinner = require('vue-spinner-component/src/Spinner.vue');
new Vue({
components: {
Spinner
}
})
import Spinner from 'vue-spinner-component/src/Spinner.vue'
new Vue({
components: {
Spinner
}
})
Or:
Vue.component('spinner', require('vue-spinner-component/src/Spinner.vue'));
npm install
npm run dev
You can customize the color, size, depth, rotation, speed with setting the props. All props have default value.
vue-spinner-component is licensed under The MIT License.