Login page implementation

This commit is contained in:
Florian Sylvain
2022-12-21 04:19:19 +01:00
parent 5d1ad603b8
commit 4d4116ae98
9 changed files with 260 additions and 71 deletions
+15
View File
@@ -0,0 +1,15 @@
import { defineStore } from "pinia";
import { ref } from "vue";
export interface jwtFormat {
code: number,
expire: string,
token: string
}
export const useAuthStore = defineStore("AuthStore", () => {
const expire = ref("")
const token = ref("")
return { expire, token }
})