restore site title mixin

This commit is contained in:
dskvr
2022-12-18 15:59:18 +01:00
parent 962fc045d7
commit 64c121d2d7
5 changed files with 6 additions and 17 deletions

View File

@@ -7,18 +7,7 @@
export default {
name: 'App',
components: {},
metaInfo: {
title: 'nostr.watch registry & network status',
titleTemplate: '%s | nostr.watch',
meta: [
{
vmid: 'description',
name: 'description',
content: 'nostr.watch monitors the relays that make up the nostr network providing useful information for developers and users.'
}
]
}
components: {}
}
</script>

View File

@@ -5,17 +5,15 @@ import Vue3Storage from "vue3-storage";
import router from './router'
import "./styles/main.scss"
import directives from "./directives/"
// import titleMixin from './mixins/titleMixin'
import titleMixin from './mixins/titleMixin'
import {Tabs, Tab} from 'vue3-tabs-component';
import VueMeta from 'vue-meta'
const app = createApp(App)
.use(router)
.use(VueMeta)
.use(Vue3Storage, { namespace: "nostrwatch_" })
.component('tabs', Tabs)
.component('tab', Tab)
// .mixin(titleMixin)
.mixin(titleMixin)
directives(app);

View File

@@ -98,8 +98,8 @@ import { geo } from '../../geo.yaml'
import { messages as RELAY_MESSAGES, codes as RELAY_CODES } from '../../codes.yaml'
export default defineComponent({
title: "nostr.watch registry & network status",
name: 'ByStatus',
components: {
Row,
Column,

View File

@@ -74,6 +74,7 @@ import { relays } from '../../relays.yaml'
import { geo } from '../../geo.yaml'
export default defineComponent({
title: "nostr.watch registry & network status",
name: 'HomePage',
components: {

View File

@@ -163,6 +163,7 @@ const localMethods = {
}
export default defineComponent({
title: "nostr.watch registry & network status",
name: 'SingleRelay',
components: {