2
0
mirror of https://github.com/tenrok/vue-meta.git synced 2026-06-10 21:12:24 +03:00

feat: convert to ts (wip)

This commit is contained in:
pimlie
2020-06-01 01:05:59 +02:00
parent 303eae1603
commit 28d3fc1923
106 changed files with 4478 additions and 5037 deletions
+15 -9
View File
@@ -15,18 +15,24 @@ new Vue({
titleTemplate: '%s | Vue Meta Examples',
htmlAttrs: {
lang: 'en',
amp: undefined
amp: undefined,
},
headAttrs: {
test: true
test: true,
},
meta: [
{ name: 'description', content: 'Hello', vmid: 'test' }
],
meta: [{ name: 'description', content: 'Hello', vmid: 'test' }],
script: [
{ innerHTML: '{ "@context": "http://www.schema.org", "@type": "Organization" }', type: 'application/ld+json' },
{ innerHTML: '{ "body": "yes" }', body: true, type: 'application/ld+json' }
{
innerHTML:
'{ "@context": "http://www.schema.org", "@type": "Organization" }',
type: 'application/ld+json',
},
{
innerHTML: '{ "body": "yes" }',
body: true,
type: 'application/ld+json',
},
],
__dangerouslyDisableSanitizers: ['script']
})
__dangerouslyDisableSanitizers: ['script'],
}),
}).$mount('#app')