1. App.vue: exclude setup page from main layout (header/FAB) 2. request.ts: exempt /auth/setup from 401 hard redirect to /login 3. LoginView: redirect to /setup when backend says password not set 4. SetupView: add missing router.replace after successful setup 5. router guard: only call checkSetup after checkAuth fails, not on every navigation
Vue 3 + TypeScript + Vite
This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 <script setup> SFCs, check out the script setup docs to learn more.
Learn more about the recommended Project Setup and IDE Support in the Vue Docs TypeScript Guide.