2
0
mirror of https://github.com/tenrok/vue-meta.git synced 2026-06-22 03:00:33 +03:00

fix: use single object prop on

feat: provide hasMetaInfo export for other libraries to check if metaInfo has been defined

chore: deprecate _hasMetaInfo
This commit is contained in:
pimlie
2019-02-23 13:49:37 +01:00
parent 5935cf32cc
commit 9c80dab7b2
9 changed files with 83 additions and 20 deletions
+2 -1
View File
@@ -1,7 +1,7 @@
import { mount, createLocalVue } from '@vue/test-utils'
import { renderToString } from '@vue/server-test-utils'
import VueMetaBrowserPlugin from '../../src/browser'
import VueMetaServerPlugin from '../../src'
import VueMetaServerPlugin, { hasMetaInfo } from '../../src'
import {
keyName,
@@ -15,6 +15,7 @@ import {
export {
mount,
renderToString,
hasMetaInfo,
VueMetaBrowserPlugin,
VueMetaServerPlugin
}