Skip to content

Commit

Permalink
fixed prerender = true
Browse files Browse the repository at this point in the history
  • Loading branch information
bertspaan committed Sep 12, 2023
1 parent 7aee525 commit e1db2f3
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 12 deletions.
6 changes: 0 additions & 6 deletions src/routes/+layout.svelte

This file was deleted.

1 change: 1 addition & 0 deletions src/routes/+layout.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export const prerender = true
7 changes: 1 addition & 6 deletions svelte.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,7 @@ const config = {
extensions: ['.svelte', ...mdsvexOptions.extensions],
preprocess: [vitePreprocess(), mdsvex(mdsvexOptions)],
kit: {
adapter: adapter({
pages: 'build',
assets: 'build',
fallback: 'index.html',
precompress: false
})
adapter: adapter()
}
}

Expand Down

0 comments on commit e1db2f3

Please sign in to comment.