rename folder
This commit is contained in:
8
svelte/src/routes/test/+page.svelte
Normal file
8
svelte/src/routes/test/+page.svelte
Normal file
@ -0,0 +1,8 @@
|
||||
<svelte:head>
|
||||
<title>Test</title>
|
||||
<meta name="description" content="About this app" />
|
||||
</svelte:head>
|
||||
|
||||
<div class="text-column">
|
||||
Test Page
|
||||
</div>
|
9
svelte/src/routes/test/+page.ts
Normal file
9
svelte/src/routes/test/+page.ts
Normal file
@ -0,0 +1,9 @@
|
||||
import { dev } from '$app/environment';
|
||||
|
||||
// we don't need any JS on this page, though we'll load
|
||||
// it in dev so that we get hot module replacement
|
||||
export const csr = dev;
|
||||
|
||||
// since there's no dynamic data here, we can prerender
|
||||
// it so that it gets served as a static asset in production
|
||||
export const prerender = true;
|
Reference in New Issue
Block a user