Enable SSR
This commit is contained in:
parent
d4db6f8e16
commit
98a0c2a47b
3 changed files with 3 additions and 1 deletions
1
src/routes/+page.js
Normal file
1
src/routes/+page.js
Normal file
|
@ -0,0 +1 @@
|
|||
export const prerender = true;
|
1
src/routes/alpine/+page.js
Normal file
1
src/routes/alpine/+page.js
Normal file
|
@ -0,0 +1 @@
|
|||
export const prerender = true;
|
|
@ -4,7 +4,7 @@ import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
|
|||
/** @type {import('@sveltejs/kit').Config} */
|
||||
const config = {
|
||||
kit: {
|
||||
adapter: adapter({fallback: 'index.html'})
|
||||
adapter: adapter()
|
||||
},
|
||||
preprocess: vitePreprocess()
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue