chore: add lang="ts" to all vue pages

This commit is contained in:
mrjvs
2026-08-11 20:42:34 +02:00
parent 7b12b35021
commit ac5bca23a2

View File

@@ -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>