client initial commit

This commit is contained in:
Methapon2001 2023-11-23 08:47:44 +07:00
parent b5f98baa2b
commit dd1547d7c2
No known key found for this signature in database
GPG key ID: 849924FEF46BD132
70 changed files with 18446 additions and 0 deletions

View file

@ -0,0 +1,20 @@
import { ref } from 'vue'
import { defineStore } from 'pinia'
export const useLoader = defineStore('data', () => {
const loader = ref<boolean>(false)
function show() {
loader.value = true
}
function hide() {
loader.value = false
}
return {
loader,
show,
hide,
}
})