5
pages/category/[topic].vue
Normal file
5
pages/category/[topic].vue
Normal file
@@ -0,0 +1,5 @@
|
||||
<template>
|
||||
<div>
|
||||
<h1>This is the {{ $route.params.topic }}</h1>
|
||||
</div>
|
||||
</template>
|
||||
@@ -1,5 +1,11 @@
|
||||
<script setup lang="ts">
|
||||
const { data } = await useAsyncData("home", () => queryContent("/").find());
|
||||
console.log(data);
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div>
|
||||
<p class="text-5xl">Latest Page</p>
|
||||
<pre>{{ data }}</pre>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user