Remove deprecated scripts for adding head-matter to wt_config.xml, including Python and Bash implementations, to streamline configuration management.
This commit is contained in:
18
client/node_modules/@unhead/vue/dist/shared/vue.BVUAdATk.mjs
generated
vendored
Normal file
18
client/node_modules/@unhead/vue/dist/shared/vue.BVUAdATk.mjs
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
import { getCurrentInstance } from 'vue';
|
||||
import { u as useHead } from './vue.Bm-NbY4b.mjs';
|
||||
|
||||
const VueHeadMixin = {
|
||||
created() {
|
||||
let source = false;
|
||||
const instance = getCurrentInstance();
|
||||
if (!instance)
|
||||
return;
|
||||
const options = instance.type;
|
||||
if (!options || !("head" in options))
|
||||
return;
|
||||
source = typeof options.head === "function" ? () => options.head.call(instance.proxy) : options.head;
|
||||
source && useHead(source);
|
||||
}
|
||||
};
|
||||
|
||||
export { VueHeadMixin as V };
|
||||
Reference in New Issue
Block a user