switch to directly importing post, and install static adapter

This commit is contained in:
Joseph Montanaro
2021-10-18 15:54:45 -07:00
parent d0aaba7a7d
commit af6b065de8
9 changed files with 48 additions and 24 deletions

View File

@@ -1,4 +1,5 @@
import { mdsvex } from "mdsvex";
import { mdsvex } from 'mdsvex';
import staticAdapter from '@sveltejs/adapter-static';
const config = {
@@ -6,7 +7,8 @@ const config = {
preprocess: mdsvex(),
kit: {
// hydrate the <div id="svelte"> element in src/app.html
target: '#svelte'
target: '#svelte',
adapter: staticAdapter(),
}
};