A minimal Vue 3 progress bar plugin that supports multiple simultaneous progresses.
How to use it:
1. Import and register the progress bar plugin.
import {createApp} from 'vue'; import App from './App.vue'; import {Vue3ProgressPlugin} from '@marcoschulte/vue3-progress'; createApp(App) .use(Vue3ProgressPlugin) .mount('#app');
// stylesheet @import "[email protected]/vue3-progress/dist/";
2. Add the progress bar component to the template.
<template> <vue3-progress-bar></vue3-progress-bar> </template>
3. Start & stop the progress bar.
import {useProgress} from '@marcoschulte/vue3-progress'; const progress = useProgress().start(); progress.finish();
// OR via global property const progress = this.$progress.start(); progress.finish();
Preview:
Download Details:
Author: marcoschulte
Live Demo: https://vue3-progress-demo.netlify.app/
Download Link: https://github.com/marcoschulte/vue3-progress/archive/refs/heads/master.zip
Official Website: https://github.com/marcoschulte/vue3-progress
Install & Download:
# NPM
$ npm i @marcoschulte/vue3-progress