mirror of
https://github.com/tenrok/vue-meta.git
synced 2026-06-15 08:22:24 +03:00
test: add render tests
fix: webpack dev server chore: use eslint not prettier unfeat: remove support for comments (its brokenn in Vue, maybe later)
This commit is contained in:
@@ -15,24 +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' }],
|
||||
script: [
|
||||
{
|
||||
innerHTML:
|
||||
'{ "@context": "http://www.schema.org", "@type": "Organization" }',
|
||||
type: 'application/ld+json',
|
||||
type: 'application/ld+json'
|
||||
},
|
||||
{
|
||||
innerHTML: '{ "body": "yes" }',
|
||||
body: true,
|
||||
type: 'application/ld+json',
|
||||
},
|
||||
type: 'application/ld+json'
|
||||
}
|
||||
],
|
||||
__dangerouslyDisableSanitizers: ['script'],
|
||||
}),
|
||||
__dangerouslyDisableSanitizers: ['script']
|
||||
})
|
||||
}).$mount('#app')
|
||||
|
||||
Reference in New Issue
Block a user