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 { export default {
name: 'App', name: 'App',
components: {}, 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.'
}
]
}
} }
</script> </script>

View File

@@ -5,17 +5,15 @@ import Vue3Storage from "vue3-storage";
import router from './router' import router from './router'
import "./styles/main.scss" import "./styles/main.scss"
import directives from "./directives/" import directives from "./directives/"
// import titleMixin from './mixins/titleMixin' import titleMixin from './mixins/titleMixin'
import {Tabs, Tab} from 'vue3-tabs-component'; import {Tabs, Tab} from 'vue3-tabs-component';
import VueMeta from 'vue-meta'
const app = createApp(App) const app = createApp(App)
.use(router) .use(router)
.use(VueMeta)
.use(Vue3Storage, { namespace: "nostrwatch_" }) .use(Vue3Storage, { namespace: "nostrwatch_" })
.component('tabs', Tabs) .component('tabs', Tabs)
.component('tab', Tab) .component('tab', Tab)
// .mixin(titleMixin) .mixin(titleMixin)
directives(app); 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' import { messages as RELAY_MESSAGES, codes as RELAY_CODES } from '../../codes.yaml'
export default defineComponent({ export default defineComponent({
title: "nostr.watch registry & network status",
name: 'ByStatus', name: 'ByStatus',
components: { components: {
Row, Row,
Column, Column,

View File

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

View File

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