@jojoxd/vue-progressbar
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

Vue Progressbar

Previously, we would like to first thank for the developers who have been willing to help developers around the world, especially those who contribute to hilongjw/vue-progressbar.
Also, I'd like to thank aacassandra for continuing the project for vue3 aacassandra/vue3-progressbar.
Here I continue from the previous development to provide support for Vue v2 and v3 using vue-demi.

Note: This readme might not have all usage details available.

Note: I've removed the route meta call options. Please send a request for them back if you need them on the BugTracker (GitHub)

Buy Me a Coffee at ko-fi.com

Table of Contents

Requirements

Installation

# npm
$ npm install @jojoxd/vue-progressbar

Usage

main.js

import { createApp } from "vue";
import App from "./App.vue";
import router from "./router";
import VueProgressBar from "@aacassandra/vue3-progressbar";

const options = {
  color: "#bffaf3",
  failedColor: "#874b4b",
  thickness: "5px",
  transition: {
    speed: "0.2s",
    opacity: "0.6s",
    termination: 300,
  },
  autoRevert: true,
  location: "left",
  inverse: false,
};

createApp(App)
  .use(VueProgressBar, options)
  .use(router)
  .mount("#app");


// In your component
import { injectKey as VueProgressBar } from '@jojoxd/vue-progressbar';

const controller = inject(VueProgressBar);

controller.start();

Package Sidebar

Install

npm i @jojoxd/vue-progressbar

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

24 kB

Total Files

13

Last publish

Collaborators

  • bakaxd