mirror of
https://github.com/tenrok/vue-meta.git
synced 2026-06-12 16:52:26 +03:00
refactor: rename to template module
This commit is contained in:
committed by
Alexander Lichter
parent
2adba84e58
commit
f92fb67619
+1
-1
@@ -1,5 +1,5 @@
|
||||
import deepmerge from 'deepmerge'
|
||||
import applyTemplate from './applyTemplate'
|
||||
import { applyTemplate } from './template'
|
||||
import { metaInfoAttributeKeys } from './constants'
|
||||
|
||||
export function arrayMerge({ component, tagIDKeyName, metaTemplateKeyName, contentKeyName }, target, source) {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { isUndefined, isFunction } from './is-type'
|
||||
|
||||
export default function applyTemplate({ component, metaTemplateKeyName, contentKeyName }, headObject, template, chunk) {
|
||||
export function applyTemplate({ component, metaTemplateKeyName, contentKeyName }, headObject, template, chunk) {
|
||||
if (isUndefined(template)) {
|
||||
template = headObject[metaTemplateKeyName]
|
||||
delete headObject[metaTemplateKeyName]
|
||||
Reference in New Issue
Block a user