Loading bar for Vue.js apps using axios and vue-router
npm install crip-vue-loading> A Vue.js project to wrap axios and display global loading bar of http requests.
For more details read documentation with examples
bash
> npm i -S crip-vue-loading
`$3
`javascript
import Vue from "vue"
import CripLoading from "crip-vue-loading"
import axios from "axios"// Install component in to Vue instance and inject in to axios.
Vue.use(CripLoading, {axios})
`$3
`vue
// App.vue
`TODO:
- Add algorithm with exponential progression instead of current linear;
Build Setup
`bash
install dependencies and serve with hot reload at localhost:8080
> npm i && npm run dev
`Release steps
`bash
> npm run release
``