feat: add title for pages

This commit is contained in:
三咲智子 2022-11-25 19:48:48 +08:00
parent dfdf95da61
commit f54e135848
No known key found for this signature in database
GPG key ID: 69992F2250DFD93E
10 changed files with 39 additions and 2 deletions

View file

@ -2,7 +2,7 @@
import { APP_NAME } from './constants'
useHead({
title: APP_NAME,
titleTemplate: title => `${title ? `${title} | ` : ''}${APP_NAME}${import.meta.env.DEV ? ' (dev)' : ''}`,
link: [
{
rel: 'icon', type: 'image/svg+png', href: '/favicon.png',