Initialize Nuxt.js project with Docker deployment setup
- Add core Nuxt.js application structure with TypeScript - Include Docker configuration and deployment guide - Set up project scaffolding with pages, composables, and middleware - Add environment configuration and Git ignore rules
This commit is contained in:
6
plugins/01.auth-check.client.ts
Normal file
6
plugins/01.auth-check.client.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
export default defineNuxtPlugin(async () => {
|
||||
const { checkAuth } = useAuth();
|
||||
|
||||
// Check authentication status on app startup
|
||||
await checkAuth();
|
||||
});
|
||||
Reference in New Issue
Block a user