Just another collection of loading spinners with Vue.js
npm install --save vue-loading-spinner
or
yarn add vue-loading-spinner
<template>
<div id="app">
<cube-spin></cube-spin>
</div>
</template>
<script>
import CubeSpin from 'vue-loading-spinner/components/Cube'
export default {
components: {
CubeSpin
}
}
</script>
List of all spinner: Demo
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
For detailed explanation on how things work, checkout the guide and docs for vue-loader.