feat: add title for pages
This commit is contained in:
parent
dfdf95da61
commit
f54e135848
10 changed files with 39 additions and 2 deletions
2
app.vue
2
app.vue
|
@ -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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue