No description
- Ajouter @storyblok/astro, @astrojs/node et vite-plugin-mkcert - Créer src/lib/storyblok.ts (fetch + mapping des blocs spectacle/evenement) - Ajouter le middleware StoryBlok pour le live preview - Basculer les pages spectacles, agenda et accueil sur l'API StoryBlok - Config conditionnelle SSG/SSR via STORYBLOK_IS_PREVIEW (production statique, preview SSR avec visual editor) - Version draft/published selon l'environnement - storyblokEditable sur les composants pour le click-to-edit - HTTPS via mkcert en mode preview |
||
|---|---|---|
| public/images | ||
| src | ||
| .env.example | ||
| .envrc | ||
| .gitignore | ||
| astro.config.mjs | ||
| flake.lock | ||
| flake.nix | ||
| metadata.json | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
Run and deploy your AI Studio app
This contains everything you need to run your app locally.
View your app in AI Studio: https://ai.studio/apps/888a76b0-af1d-4274-9218-1817cdc461fb
Run Locally
Prerequisites: Node.js
- Install dependencies:
npm install - Set the
GEMINI_API_KEYin .env.local to your Gemini API key - Run the app:
npm run dev