vue-spinner
Not support Vue 2.0.
A collection of loading spinners with Vue.js. Just convert yuanyan's React.js project Halogen to Vue.js components. Special thanks to yuanyan for the wonderful project.
Live demo
Installation
NPM
$ npm install vue-spinner
CommonJS
var PulseLoader = ; components: 'PulseLoader': PulseLoader
ES6
components: PulseLoader
Or:
Vue;
For browserify
If you use browserify + vueify, you may need to import vue-spinner like this:
var PulseLoader= PulseLoader;
Browser globals
The dist
folder contains vue-spinner.js
and vue-spinner.min.js
with all components exported in the window.VueSpinner
object. These bundles are also available on NPM packages.
Local setup
npm install
npm run dev
Usage
You can customize the color and size with setting the props. All props have default value. You can control the spinner show/hidden with setting the loading prop.
TODO
License
vue-spinner is licensed under The MIT License.