mirror of
https://github.com/PretendoNetwork/website.git
synced 2026-08-22 16:47:16 -05:00
chore: add lang="ts" to all vue pages
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<script setup>
|
||||
<script setup lang="ts">
|
||||
const slug = useRoute().params.slug;
|
||||
const { data: post } = await useAsyncData(`blog-${slug}`, () => {
|
||||
return queryCollection('blog').path(`/blog/${slug}`).first();
|
||||
@@ -31,7 +31,10 @@ useHead({
|
||||
|
||||
<template>
|
||||
<div class="card-wrap">
|
||||
<div class="blog-card">
|
||||
<div
|
||||
v-if="post"
|
||||
class="blog-card"
|
||||
>
|
||||
<h1 class="title">
|
||||
{{ post.title }}
|
||||
</h1>
|
||||
|
||||
Reference in New Issue
Block a user