SyntaxSquad/DADProject#9 feat: User info dysplayed in /users/
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import { createApp } from 'vue'
|
||||
import { createPinia } from 'pinia'
|
||||
import { io } from 'socket.io-client'
|
||||
import { useAuthStore } from '@/stores/auth'
|
||||
|
||||
import App from './App.vue'
|
||||
import router from './router'
|
||||
@@ -20,4 +21,7 @@ app.provide('apiBaseURL', `http://${apiDomain}/api`)
|
||||
app.use(createPinia())
|
||||
app.use(router)
|
||||
|
||||
const authStore = useAuthStore()
|
||||
authStore.initAuth()
|
||||
|
||||
app.mount('#app')
|
||||
|
||||
Reference in New Issue
Block a user