diff --git a/php_pc/nuxt.config.ts b/php_pc/nuxt.config.ts index 806ee58..7b0e88a 100644 --- a/php_pc/nuxt.config.ts +++ b/php_pc/nuxt.config.ts @@ -45,6 +45,9 @@ export default defineNuxtConfig({ }, ssr: !!envConfig.ssr, nitro: { + externals: { + inline: ['@matechat/core'] + }, preset: 'node-server', prerender: { routes: [], // 不渲染任何页面