@@ -1 +1,18 @@
|
|||||||
# Hello ts
|
---
|
||||||
|
title: Hello, World
|
||||||
|
author: riyad
|
||||||
|
date: 10:11:12
|
||||||
|
category: js
|
||||||
|
summery: sdklfjsld
|
||||||
|
---
|
||||||
|
|
||||||
|
# Hi there!
|
||||||
|
|
||||||
|
This Markdown file creates a page at `your-domain.com/page-1/`
|
||||||
|
|
||||||
|
It probably isn't styled much, but Markdown does support:
|
||||||
|
|
||||||
|
- **bold** and _italics._
|
||||||
|
- lists
|
||||||
|
- [links](https://astro.build)
|
||||||
|
- and more!
|
||||||
|
|||||||
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>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<p class="text-5xl">Latest Page</p>
|
<p class="text-5xl">Latest Page</p>
|
||||||
|
<pre>{{ data }}</pre>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
Reference in New Issue
Block a user