Skip to content

Commit

Permalink
Fix: disable SSR by default in SvelteKit template
Browse files Browse the repository at this point in the history
Turns off SSR by default, which prevents usage of `appWindow`.

Discussion: tauri-apps#200 (comment)
Issue & solution: https://github.com/sveltejs/kit/tree/master/packages/adapter-static#turn-off-ssr
  • Loading branch information
FireCoding committed Nov 24, 2022
1 parent 2e5f772 commit 246adc3
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
export const ssr = false;
export const prerender = true;
export const csr = true;

0 comments on commit 246adc3

Please sign in to comment.