loading-vue-component

2.1.0 • Public • Published

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> 
 
 
 

Readme

Keywords

Package Sidebar

Install

npm i loading-vue-component

Weekly Downloads

1

Version

2.1.0

License

ISC

Unpacked Size

74.3 kB

Total Files

13

Last publish

Collaborators

  • maomincoding