perf: ⚡ Mark index, /install, /contact, and /about as prerendered pages in SvelteKit
This commit is contained in:
parent
e79e691ec9
commit
9733543193
@ -1,7 +1,7 @@
|
||||
{
|
||||
"scripts": {
|
||||
"proxy": "node proxy.js",
|
||||
"dev": "concurrently -n plugin,webapp,server,proxy \"npm --prefix ./plugin run dev\" \"npm --prefix ./webapp run dev\" \"npm --prefix ./server run dev\" \"npm run proxy\""
|
||||
"dev": "concurrently -n plugin,webapp,server,proxy \"npm --prefix ./plugin run dev\" \"npm --prefix ./webapp run dev -- --open\" \"npm --prefix ./server run dev\" \"npm run proxy\""
|
||||
},
|
||||
"dependencies": {
|
||||
"concurrently": "^7.2.2"
|
||||
|
@ -1,3 +1,7 @@
|
||||
<script context="module">
|
||||
export const prerender = true;
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
<title>About | {import.meta.env.VITE_BRANDING}</title>
|
||||
</svelte:head>
|
||||
|
@ -1,3 +1,7 @@
|
||||
<script context="module">
|
||||
export const prerender = true;
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
<title>Contact | {import.meta.env.VITE_BRANDING}</title>
|
||||
</svelte:head>
|
||||
|
@ -1,3 +1,7 @@
|
||||
<script context="module">
|
||||
export const prerender = true;
|
||||
</script>
|
||||
|
||||
<script>
|
||||
import Tile from '$lib/components/index/tile.svelte';
|
||||
</script>
|
||||
|
@ -1,3 +1,7 @@
|
||||
<script context="module">
|
||||
export const prerender = true;
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
<title>Get the plugin | {import.meta.env.VITE_BRANDING}</title>
|
||||
<script src="https://tarptaeya.github.io/repo-card/repo-card.js"></script>
|
||||
@ -28,7 +32,7 @@
|
||||
</div>
|
||||
|
||||
<a href="https://github.com/mcndt/obsidian-note-sharing"
|
||||
><img src="https://gh-card.dev/repos/mcndt/obsidian-note-sharing.svg" /></a
|
||||
><img src="https://gh-card.dev/repos/mcndt/obsidian-note-sharing.svg" alt="github-repo-card" /></a
|
||||
>
|
||||
<div class="flex gap-2 mt-2">
|
||||
<a href="https://github.com/mcndt/obsidian-note-sharing/releases">
|
||||
|
Loading…
Reference in New Issue
Block a user