Skip to content

Commit

Permalink
wip! [vue3] Readd vue-progressbar
Browse files Browse the repository at this point in the history
Switch to `@aacassandra/vue3-progressbar` for vue3 support.
Looks like the original version is not supported any more:
hilongjw/vue-progressbar#98
  • Loading branch information
chme committed Dec 30, 2021
1 parent b2c2efd commit 63d8f35
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 8 deletions.
34 changes: 34 additions & 0 deletions web-src/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions web-src/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"preview": "vite preview"
},
"dependencies": {
"@aacassandra/vue3-progressbar": "^1.0.3",
"axios": "^0.24.0",
"moment": "^2.29.1",
"reconnectingwebsocket": "^1.0.0",
Expand Down
6 changes: 6 additions & 0 deletions web-src/src/main.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
import { createApp } from 'vue'
import store from './store'
import VueProgressBar from '@aacassandra/vue3-progressbar'
import App from './App.vue'

createApp(App)
.use(store)
.use(VueProgressBar, {
color: 'hsl(204, 86%, 53%)',
failedColor: 'red',
height: '1px'
})
.mount('#app')
8 changes: 0 additions & 8 deletions web-src/src/progress/index.js

This file was deleted.

0 comments on commit 63d8f35

Please sign in to comment.