Skip to content

Commit

Permalink
Move prerender to +layout.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
sant0s12 committed Feb 26, 2024
1 parent 127bec0 commit 66ee196
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions src/routes/+layout.svelte
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
<script lang="ts">
import { DarkMode, NavBrand, NavHamburger, NavLi, NavUl, Navbar } from 'flowbite-svelte';
import '../app.css';
export const prerender = true;
</script>

<header class="sticky top-0 z-20">
Expand Down
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;

0 comments on commit 66ee196

Please sign in to comment.