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

feat: add possibility to add additional meta info

refactor: server injectors

feat: add head, bodyPrepend, bodyAppend injectors

refactor: create browserbuild through rollup replace (not separate entry)
This commit is contained in:
pimlie
2019-09-13 00:08:21 +02:00
committed by Pim
parent 0e49a9c43e
commit 0ab76ee16b
27 changed files with 389 additions and 387 deletions
+2 -2
View File
@@ -40,7 +40,7 @@ describe('getComponentOption', () => {
})
test('fetches deeply nested component options and merges them', () => {
const localVue = loadVueMetaPlugin(true, { keyName: 'foo' })
const localVue = loadVueMetaPlugin({ keyName: 'foo' })
localVue.component('merge-child', { render: h => h('div'), foo: { bar: 'baz' } })
const component = localVue.component('parent', {
@@ -92,7 +92,7 @@ describe('getComponentOption', () => {
}) */
test('only traverses branches with metaInfo components', () => {
const localVue = loadVueMetaPlugin(false, { keyName: 'foo' })
const localVue = loadVueMetaPlugin({ keyName: 'foo' })
localVue.component('meta-child', {
foo: { bar: 'baz' },