mirror of
https://github.com/tenrok/vue-meta.git
synced 2026-06-21 06:40:34 +03:00
refactor: set defaultOptions in shared/constants
This commit is contained in:
committed by
Alexander Lichter
parent
c1f97c4ea4
commit
2b24acc8b2
@@ -1,17 +0,0 @@
|
||||
import {
|
||||
keyName,
|
||||
attribute,
|
||||
ssrAttribute,
|
||||
tagIDKeyName,
|
||||
metaTemplateKeyName,
|
||||
contentKeyName
|
||||
} from '../../src/shared/constants'
|
||||
|
||||
export const defaultOptions = {
|
||||
keyName,
|
||||
attribute,
|
||||
ssrAttribute,
|
||||
tagIDKeyName,
|
||||
metaTemplateKeyName,
|
||||
contentKeyName
|
||||
}
|
||||
+1
-1
@@ -1,8 +1,8 @@
|
||||
import { mount, createLocalVue } from '@vue/test-utils'
|
||||
import { renderToString } from '@vue/server-test-utils'
|
||||
import { defaultOptions } from '../../src/shared/constants'
|
||||
import VueMetaBrowserPlugin from '../../src/browser'
|
||||
import VueMetaServerPlugin from '../../src'
|
||||
import { defaultOptions } from './constants'
|
||||
|
||||
export {
|
||||
mount,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { defaultOptions } from './constants'
|
||||
import { defaultOptions } from '../../src/shared/constants'
|
||||
|
||||
const metaInfoData = {
|
||||
title: {
|
||||
|
||||
Reference in New Issue
Block a user