mirror of
https://github.com/tenrok/vue-meta.git
synced 2026-06-21 17:40:33 +03:00
Revert "feat: use named exports to export helper functions"
This reverts commit 95c3b7d4e8.
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
import { mount, defaultOptions, VueMetaServerPlugin, loadVueMetaPlugin } from './utils'
|
||||
|
||||
const { hasMetaInfo } = VueMetaServerPlugin
|
||||
import { mount, defaultOptions, hasMetaInfo, VueMetaServerPlugin, loadVueMetaPlugin } from './utils'
|
||||
|
||||
jest.mock('../package.json', () => ({
|
||||
version: 'test-version'
|
||||
|
||||
+3
-2
@@ -1,7 +1,7 @@
|
||||
import { mount, createLocalVue } from '@vue/test-utils'
|
||||
import { renderToString } from '@vue/server-test-utils'
|
||||
import * as VueMetaBrowserPlugin from '../../src/browser'
|
||||
import * as VueMetaServerPlugin from '../../src'
|
||||
import VueMetaBrowserPlugin from '../../src/browser'
|
||||
import VueMetaServerPlugin, { hasMetaInfo } from '../../src'
|
||||
|
||||
import {
|
||||
keyName,
|
||||
@@ -15,6 +15,7 @@ import {
|
||||
export {
|
||||
mount,
|
||||
renderToString,
|
||||
hasMetaInfo,
|
||||
VueMetaBrowserPlugin,
|
||||
VueMetaServerPlugin
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user