From fd6664b8e7c49f620047714c4adc9b09fbbd2876 Mon Sep 17 00:00:00 2001 From: Ilion Beyst Date: Thu, 28 Jul 2022 20:32:10 +0200 Subject: set up docs route --- web/pw-server/svelte.config.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'web/pw-server/svelte.config.js') diff --git a/web/pw-server/svelte.config.js b/web/pw-server/svelte.config.js index 197fa56..fe396f9 100644 --- a/web/pw-server/svelte.config.js +++ b/web/pw-server/svelte.config.js @@ -12,7 +12,10 @@ const config = { preprocess: [ sveltePreprocess(), mdsvex({ - extensions: ['.md'] + extensions: ['.md'], + layout: { + docs: 'src/routes/docs/doc.svelte', + } }), ], extensions: ['.svelte', '.md'], -- cgit v1.2.3