chore: vue 3.4 improvements
This commit is contained in:
parent
6bf5d77a01
commit
8ca4756609
@ -20,7 +20,7 @@ onMounted(async () => {
|
|||||||
<template>
|
<template>
|
||||||
<div class="prose dark:prose-invert">
|
<div class="prose dark:prose-invert">
|
||||||
<HomeStatBox
|
<HomeStatBox
|
||||||
:href="href"
|
:href
|
||||||
id="github-commit-a"
|
id="github-commit-a"
|
||||||
color="lightgray"
|
color="lightgray"
|
||||||
darkcolor="slategray"
|
darkcolor="slategray"
|
||||||
|
@ -31,11 +31,7 @@ const cssVars = {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<a
|
<a class="no-underline inline-block flex flex-col items-stretch" :href :id>
|
||||||
class="no-underline inline-block flex flex-col items-stretch"
|
|
||||||
:href="href"
|
|
||||||
:id="id"
|
|
||||||
>
|
|
||||||
<div class="container box" :style="cssVars">
|
<div class="container box" :style="cssVars">
|
||||||
<p class="m-0 w-full title">{{ title }}</p>
|
<p class="m-0 w-full title">{{ title }}</p>
|
||||||
<div class="main-content">
|
<div class="main-content">
|
||||||
|
@ -35,7 +35,7 @@ const tags = new Set(
|
|||||||
<PostPreviewCard
|
<PostPreviewCard
|
||||||
v-for="(post, index) in docs"
|
v-for="(post, index) in docs"
|
||||||
:key="index"
|
:key="index"
|
||||||
:post="post"
|
:post
|
||||||
type="blog"
|
type="blog"
|
||||||
/>
|
/>
|
||||||
</main>
|
</main>
|
||||||
|
@ -34,7 +34,7 @@ useTitle(title + " Posts", details.description);
|
|||||||
<PostPreviewCard
|
<PostPreviewCard
|
||||||
v-for="(post, index) in docs"
|
v-for="(post, index) in docs"
|
||||||
:key="index"
|
:key="index"
|
||||||
:post="post"
|
:post
|
||||||
:highlighttags="[tag]"
|
:highlighttags="[tag]"
|
||||||
type="blog"
|
type="blog"
|
||||||
/>
|
/>
|
||||||
|
Loading…
Reference in New Issue
Block a user