Added layouts + routes
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user