added: login, logout and auto refresh token

This commit is contained in:
nquidox 2025-09-10 23:29:27 +03:00
parent 72c796c429
commit f66c014a36
9 changed files with 189 additions and 63 deletions

View file

@ -3,12 +3,10 @@ import { createPinia } from 'pinia'
import App from './App.vue'
import router from './router'
import { setupAuthInterceptor } from '@/services/setupInterceptors.js'
const app = createApp(App)
app.use(createPinia())
app.use(router)
setupAuthInterceptor()
app.mount('#app')