feat: quiz base

This commit is contained in:
Jannat Patel
2023-12-28 11:59:44 +05:30
parent e1d61c9eb9
commit 7087fde686
9 changed files with 334 additions and 41 deletions

View File

@@ -32,9 +32,5 @@ app.mount('#app')
const { userResource } = usersStore()
let { isLoggedIn } = sessionStore()
if (isLoggedIn) {
await userResource.reload()
}
app.provide('$user', userResource)
app.config.globalProperties.$user = userResource