Added layouts + routes

This commit is contained in:
2026-09-22 15:21:19 +02:00
parent 5cad56000c
commit 3f9574dce6
15 changed files with 331 additions and 23 deletions

View File

@@ -5,6 +5,8 @@ import keystatic from '@keystatic/astro'
import node from '@astrojs/node'
import react from '@astrojs/react'
import { contentReload } from './src/integrations/content-reload'
const devOnly = (integration) => ({
name: `${integration.name}:dev-only`,
hooks: {
@@ -17,7 +19,7 @@ const devOnly = (integration) => ({
export default defineConfig({
site: 'https://dave-dmg.de',
integrations: [react(), devOnly(keystatic())],
integrations: [react(), devOnly(keystatic()), contentReload()],
adapter: node({
mode: 'standalone',