chore: vue 3.4 improvements

This commit is contained in:
Daniel Chen 2024-10-16 13:30:57 -04:00
parent 6bf5d77a01
commit 8ca4756609
4 changed files with 4 additions and 8 deletions

View File

@ -20,7 +20,7 @@ onMounted(async () => {
<template>
<div class="prose dark:prose-invert">
<HomeStatBox
:href="href"
:href
id="github-commit-a"
color="lightgray"
darkcolor="slategray"

View File

@ -31,11 +31,7 @@ const cssVars = {
</script>
<template>
<a
class="no-underline inline-block flex flex-col items-stretch"
:href="href"
:id="id"
>
<a class="no-underline inline-block flex flex-col items-stretch" :href :id>
<div class="container box" :style="cssVars">
<p class="m-0 w-full title">{{ title }}</p>
<div class="main-content">

View File

@ -35,7 +35,7 @@ const tags = new Set(
<PostPreviewCard
v-for="(post, index) in docs"
:key="index"
:post="post"
:post
type="blog"
/>
</main>

View File

@ -34,7 +34,7 @@ useTitle(title + " Posts", details.description);
<PostPreviewCard
v-for="(post, index) in docs"
:key="index"
:post="post"
:post
:highlighttags="[tag]"
type="blog"
/>