feat: initialise Vue 3 SPA template

- Add Tailwind CSS v4 with light/dark theme support
- Add layout system (default, sidebar, blank)
- Add mock authentication with Pinia store and route guards
- Add error pages (404, 500) and example views
- Add Vitest with 10 example tests across stores
- Configure Prettier formatting and ESLint linting
This commit is contained in:
siujamo committed 2026-06-18 16:38:51 +08:00
commit 0b1c394cfd
37 files changed
+5483

No files matched your search

Vendored
+10
View File
@@ -0,0 +1,10 @@
/// <reference types="vite/client" />
import 'vue-router'
declare module 'vue-router' {
interface RouteMeta {
requiresAuth?: boolean
guestOnly?: boolean
}
}