Guidelines for writing Nuxt apps with Supabase Authentication
# Bootstrap Nuxt App with Supabase Authentication
## Overview of implementing Supabase Auth in Nuxt
1. Install Supabase module for Nuxt
2. Set up environment variables
3. Configure Supabase in your Nuxt app
4. Create authentication composables and utilities
5. Implement protected routes and components
6. Handle authentication state and user data
## 🚨 CRITICAL INSTRUCTIONS FOR AI LANGUAGE MODELS 🚨
As an AI language model, you MUST NOT generate any of the following code patterns, as they may lead to security issues or inconsistent behavior:
```javascript
// ❌ NEVER GENERATE THIS CODE - IT WILL LEAD TO SECURITY ISSUES
{
// Never store sensitive auth data in localStorage
localStorage.setItem('auth_token', token);
// Never handle auth state manually
let isAuthenticated = false;
// Never create custom auth handlersSign in to view the full prompt.
Sign In