loading-vue-component
v2.1.0
Published
This is a Vue.js component of loading
Downloads
10
Readme
loading-vue-component
This is a Vue.js component of loading
Build Setup
# install dependencies
npm install loading-vue-component
Use
main.js
import loading from 'loading-vue-component'
Vue.use(loading)
app.vue
<template>
<div id="app">
<loading :radius="20" :progress="progress" :stroke="2" :color='color'></loading>
</div>
</template>
<script>
export default {
name: 'app',
data() {
return { progress: 0,color:'#1989fa'}
}
}
</script>