- Spring Boot 后端服务 (hss-home-service) - delivery-miniapp 配送小程序 - website 官网 (Nuxt) - docs 架构设计文档 - Docker 容器化部署配置 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
29 lines
994 B
JavaScript
29 lines
994 B
JavaScript
import { hasInjectionContext, inject } from 'file:///home/akoo/%E5%B1%85%E5%AE%B6%E6%9C%8D%E5%8A%A1/hss-home-service/website/node_modules/vue/index.mjs';
|
|
import { t as tryUseNuxtApp } from './server.mjs';
|
|
import { u as useHead$1, h as headSymbol, a as useSeoMeta$1 } from '../_/renderer.mjs';
|
|
|
|
function injectHead(nuxtApp) {
|
|
var _a;
|
|
const nuxt = nuxtApp || tryUseNuxtApp();
|
|
return ((_a = nuxt == null ? void 0 : nuxt.ssrContext) == null ? void 0 : _a.head) || (nuxt == null ? void 0 : nuxt.runWithContext(() => {
|
|
if (hasInjectionContext()) {
|
|
return inject(headSymbol);
|
|
}
|
|
}));
|
|
}
|
|
function useHead(input, options = {}) {
|
|
const head = injectHead(options.nuxt);
|
|
if (head) {
|
|
return useHead$1(input, { head, ...options });
|
|
}
|
|
}
|
|
function useSeoMeta(input, options = {}) {
|
|
const head = injectHead(options.nuxt);
|
|
if (head) {
|
|
return useSeoMeta$1(input, { head, ...options });
|
|
}
|
|
}
|
|
|
|
export { useSeoMeta as a, useHead as u };
|
|
//# sourceMappingURL=v3-eWcT6REp.mjs.map
|