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:
+15
-9
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user