move prerender to js

This commit is contained in:
saiminh 2023-10-03 17:38:38 +02:00
parent 1cbae1f295
commit ec4c58338b
4 changed files with 2 additions and 5 deletions

View file

@ -5,7 +5,6 @@
import SplitText from 'gsap/dist/SplitText'; import SplitText from 'gsap/dist/SplitText';
import ScrollTrigger from 'gsap/dist/ScrollTrigger'; import ScrollTrigger from 'gsap/dist/ScrollTrigger';
export const prerender = true
let canvasTexts: Array<HTMLElement> = []; let canvasTexts: Array<HTMLElement> = [];
onMount( () => { onMount( () => {

View file

@ -0,0 +1 @@
export const prerender = true

View file

@ -1,7 +1,3 @@
<script>
export const prerender = true;
</script>
<h1> <h1>
Yee-ha! Yee-ha!
</h1> </h1>

View file

@ -0,0 +1 @@
export const prerender = true