From 7adc3613fc7505412c6e7bd0d77e95849f9c5209 Mon Sep 17 00:00:00 2001 From: nichenqin Date: Sat, 17 Aug 2024 11:55:26 +0800 Subject: [PATCH] fix: fix route prerender --- .../create-from-template/[spaceId]/[baseId]/+layout.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/frontend/src/routes/(template)/create-from-template/[spaceId]/[baseId]/+layout.ts b/apps/frontend/src/routes/(template)/create-from-template/[spaceId]/[baseId]/+layout.ts index 403e6ce69..c8720254f 100644 --- a/apps/frontend/src/routes/(template)/create-from-template/[spaceId]/[baseId]/+layout.ts +++ b/apps/frontend/src/routes/(template)/create-from-template/[spaceId]/[baseId]/+layout.ts @@ -1,6 +1,9 @@ import { GetCreateFromTemplateDataStore } from "$houdini" import type { LayoutLoad } from "./$types" +export const ssr = false +export const prerender = "auto" + export const load: LayoutLoad = async (event) => { const { spaceId, baseId } = event.params