Loading bars (#113)

* Loading bars

* remove print

* remove print

* remove class

* Fix overlay
This commit is contained in:
Geometrically
2023-05-10 11:19:01 -07:00
committed by GitHub
parent dee8b50e69
commit 9be0d16f75
6 changed files with 170 additions and 17 deletions

View File

@@ -0,0 +1,13 @@
import { defineStore } from 'pinia'
export const useLoading = defineStore('loadingStore', {
state: () => ({ loading: false }),
actions: {
startLoading() {
this.loading = true
},
stopLoading() {
this.loading = false
},
},
})