feat: Setup GraphQL with dynamic node routing logic

This commit is contained in:
2026-03-18 23:21:05 -04:00
parent 1838d59382
commit 3b72a16f86
9 changed files with 1291 additions and 73 deletions

View File

@@ -0,0 +1,3 @@
fragment NodePage on Page {
title @nonNull
}

View File

@@ -0,0 +1,8 @@
<script setup lang="ts">
import type { NodePageFragment } from "#graphql/types";
defineProps<{ node: NodePageFragment }>();
</script>
<template>
<div id="node-page">{{ node.title }}</div>
</template>