move prerender to js
This commit is contained in:
parent
1cbae1f295
commit
ec4c58338b
4 changed files with 2 additions and 5 deletions
|
|
@ -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( () => {
|
||||||
|
|
|
||||||
1
src/routes/contact/+page.ts
Normal file
1
src/routes/contact/+page.ts
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
export const prerender = true
|
||||||
|
|
@ -1,7 +1,3 @@
|
||||||
<script>
|
|
||||||
export const prerender = true;
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<h1>
|
<h1>
|
||||||
Yee-ha!
|
Yee-ha!
|
||||||
</h1>
|
</h1>
|
||||||
1
src/routes/success/+page.ts
Normal file
1
src/routes/success/+page.ts
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
export const prerender = true
|
||||||
Loading…
Add table
Reference in a new issue