loading-vue-component

This is a Vue.js component of loading

Usage no npm install needed!

<script type="module">
  import loadingVueComponent from 'https://cdn.skypack.dev/loading-vue-component';
</script>

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>