Loading Bar for Vue.js 2
A component to use in your Vue 2.0 projects, which implements a loading bar, similar to the one in youtube videos.
It can be installed via NPM
npm install vue2-loading-bar
Imported to your vue component file like this
import LoadingBar from './components/'; import '../css/loading-bar.css';
Or just include
vue2-loading-bar.min.js to your view
<script src="./src/js/vue.js"></script> <script src="./build/vue2-loading-bar.min.js"></script>
Visit its GitHub page for
props which will help you make it more customized, and take a look at the Demo.