diff --git a/nuxt.config.js b/nuxt.config.js index faa0f60c..4be58aa9 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -11,7 +11,6 @@ module.exports = { { charset: 'utf-8' }, { name: 'viewport', content: 'width=device-width, initial-scale=1' } ], - script: [{ src: '/gancio-events.es.js' }], link: [{ rel: 'icon', type: 'image/png', href: '/logo.png' }] }, dev: (process.env.NODE_ENV !== 'production'), diff --git a/pages/event/_slug.vue b/pages/event/_slug.vue index d8eb35bb..3d1b8ab6 100644 --- a/pages/event/_slug.vue +++ b/pages/event/_slug.vue @@ -180,6 +180,7 @@ export default { return { title: `${this.settings.title} - ${this.event.title}`, + script: [{ src: '/gancio-events.es.js', async: true, body: true }], meta: [ // hid is used as unique identifier. Do not use `vmid` for it as it will not work { diff --git a/pages/export.vue b/pages/export.vue index 7b8ca2ca..a9adc97f 100644 --- a/pages/export.vue +++ b/pages/export.vue @@ -115,7 +115,8 @@ export default { }, head () { return { - title: `${this.settings.title} - ${this.$t('common.export')}` + title: `${this.settings.title} - ${this.$t('common.export')}`, + script: [{ src: '/gancio-events.es.js', async: true, body: true }], } }, computed: {