diff --git a/.claude/settings.local.json b/.claude/settings.local.json new file mode 100644 index 00000000..ecf3d064 --- /dev/null +++ b/.claude/settings.local.json @@ -0,0 +1,12 @@ +{ + "permissions": { + "allow": [ + "Read(/C:\\Users\\alejandro.minguez\\Documents\\webDev\\GitHub\\admin-one-vue-tailwind\\src\\stores/**)" + ] + }, + "enabledMcpjsonServers": [ + "supabase" + ], + "outputStyle": "Explanatory", + "enableAllProjectMcpServers": true +} diff --git a/.gitignore b/.gitignore index 38adffa6..74f7f2a9 100644 --- a/.gitignore +++ b/.gitignore @@ -26,3 +26,5 @@ coverage *.njsproj *.sln *.sw? + +.codegpt \ No newline at end of file diff --git a/.htaccess b/.htaccess new file mode 100644 index 00000000..144c2641 --- /dev/null +++ b/.htaccess @@ -0,0 +1,16 @@ + + RewriteEngine On + RewriteBase /sinaq/ + RewriteRule ^index\.html$ - [L] + RewriteCond %{REQUEST_FILENAME} !-f + RewriteCond %{REQUEST_FILENAME} !-d + RewriteRule . /sinaq/index.html [L] + + + # Permitir CORS y Headers necesarios + + Header set Access-Control-Allow-Origin "*" + Header set Access-Control-Allow-Methods "GET,POST,OPTIONS,DELETE,PUT" + Header set Access-Control-Allow-Headers "DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Authorization" + Header set Content-Security-Policy "default-src 'self' 'unsafe-inline' 'unsafe-eval' https://login.microsoftonline.com https://*.microsoft.com data: ws:;" + \ No newline at end of file diff --git a/.htaccess_bak b/.htaccess_bak new file mode 100644 index 00000000..648f2324 --- /dev/null +++ b/.htaccess_bak @@ -0,0 +1,15 @@ + + RewriteEngine On + RewriteBase /sinaq/ + + # Proxy para manejar CORS + + + + +# Habilitar CORS + + Header set Access-Control-Allow-Origin "*" + Header set Access-Control-Allow-Methods "GET,PUT,POST,DELETE,PATCH,OPTIONS" + Header set Access-Control-Allow-Headers "Content-Type, Authorization" + \ No newline at end of file diff --git a/CLAUDE.md b/CLAUDE.md new file mode 100644 index 00000000..da2270cf --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1,102 @@ +# CLAUDE.md + +This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository. + +## Development Commands + +- **Start development server**: `npm run dev` (Vite development server) +- **Build for production**: `npm run build` (Vite build) +- **Preview production build**: `npm run preview --port 4173` +- **Lint code**: `npm run lint` (ESLint with auto-fix) +- **Format code**: `npm run format` (Prettier) + +## Project Architecture + +This is a Vue 3 admin dashboard application built with: + +- **Vue 3** with Composition API and `