import VueInsProgressBar from 'vue-ins-progress-bar' const options = { position: 'fixed', show: true, height: '3px' } Vue.use(VueInsProgressBar, options)
<template> <div id="app"> <router-view/> <vue-ins-progress-bar></vue-ins-progress-bar> </div> </template> <script> export default { name: 'App', mounted () { this.$insProgress.finish() }, created () { this.$insProgress.start() this.$router.beforeEach((to, from, next) => { this.$insProgress.start() next() }) this.$router.afterEach((to, from) => { this.$insProgress.finish() }) } } </script>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4