switch to directly importing post, and install static adapter
This commit is contained in:
@@ -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(),
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user