Testing
This commit is contained in:
1
src/routes/+layout.server.js
Normal file
1
src/routes/+layout.server.js
Normal file
@@ -0,0 +1 @@
|
|||||||
|
export const prerender = true;
|
||||||
@@ -1,5 +1,6 @@
|
|||||||
<script>
|
<script>
|
||||||
import Menu from '../components/small-header.svelte'
|
import Menu from '../components/small-header.svelte'
|
||||||
|
export const prerender = true;
|
||||||
</script>
|
</script>
|
||||||
<Menu />
|
<Menu />
|
||||||
<h1>Welcome to SvelteKit</h1>
|
<h1>Welcome to SvelteKit</h1>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<script>
|
<script>
|
||||||
window.alert("Test Page")
|
export const prerender = true;
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<h2>Test Route</h2>
|
<h2>Test Route</h2>
|
||||||
Reference in New Issue
Block a user