feat: dev indicator (#183)
This commit is contained in:
parent
72d40edbb6
commit
75aaf85e84
2 changed files with 6 additions and 2 deletions
2
app.vue
2
app.vue
|
@ -2,7 +2,7 @@
|
|||
import { APP_NAME } from './constants'
|
||||
|
||||
useHead({
|
||||
titleTemplate: title => `${title ? `${title} | ` : ''}${APP_NAME}${import.meta.env.DEV ? ' (dev)' : ''}`,
|
||||
titleTemplate: title => `${title ? `${title} | ` : ''}${APP_NAME}${import.meta.env.DEV ? ' (dev)' : window.location.hostname.includes('deploy-preview') ? '(preview)' : ''}`,
|
||||
link: [
|
||||
{
|
||||
rel: 'icon', type: 'image/svg+png', href: '/favicon.png',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue