Easy to use and highly customizable Vue Router Loading.
- Install the package:
npm install vue-router-loading
- Import component in App.vue:
import VueRouterLoading from 'vue-router-loading'
- Put component in template
<vue-router-loading></vue-router-loading>
You can customize loading bar with props.
⚙ color:
default: #41b883
⚙ height:
default: 2px
⚙ position:
default: top
options: top, bottom
⚙ rtl:
default: false
⚙ endLineMode:
default: shadow
options: shadow, circle
⚙ shadowColor:
default: #41b883
⚙ shadowOpacity:
default: 0.9
⚙ circleColor:
default: #41b883
⚙ showOverly:
default: true