prefetch links

This commit is contained in:
Joseph Montanaro
2021-10-19 10:26:50 -07:00
parent 18e8883063
commit a2a2b4f200
6 changed files with 53 additions and 15 deletions

View File

@@ -4,7 +4,7 @@ import staticAdapter from '@sveltejs/adapter-static';
const config = {
extensions: ['.svelte', '.svx'],
preprocess: mdsvex(),
preprocess: mdsvex({layout: './src/lib/Post.svelte'}),
kit: {
// hydrate the <div id="svelte"> element in src/app.html
target: '#svelte',