change title
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Vite + Vue + TS</title>
|
||||
<title>Miniminu</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
|
||||
@@ -1,9 +1,14 @@
|
||||
<script setup lang="ts">
|
||||
import { computed, onUnmounted, ref } from "vue"
|
||||
import { timeUntil } from "../services/time-until"
|
||||
import { useTitle } from "@vueuse/core"
|
||||
|
||||
const props = defineProps<{ project?: string; target?: string }>()
|
||||
|
||||
if (props.project) {
|
||||
useTitle(props.project)
|
||||
}
|
||||
|
||||
const targetDate = computed(() =>
|
||||
props.target
|
||||
? new Date(props.target).toLocaleDateString(undefined, {
|
||||
|
||||
Reference in New Issue
Block a user