mirror of
https://framagit.org/les/gancio.git
synced 2025-01-31 16:42:22 +01:00
do not add webcomponent script in every page
This commit is contained in:
parent
70d55493e9
commit
20109da120
3 changed files with 3 additions and 2 deletions
|
@ -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'),
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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: {
|
||||
|
|
Loading…
Reference in a new issue