Skip to content

未找到匹配的渲染器。

无法渲染 COMPONENT_NAMEastro.config.mjs 文件中配置了 RENDERER_COUNT 渲染器,但没有一个能够在服务器端渲染 COMPONENT_NAME

¥Unable to render COMPONENT_NAME. There are RENDERER_COUNT renderer(s) configured in your astro.config.mjs file, but none were able to server-side render COMPONENT_NAME.

¥What went wrong?

所有已安装的集成都无法渲染你导入的组件。确保为你尝试包含在页面中的组件类型安装适当的集成。

¥None of the installed integrations were able to render the component you imported. Make sure to install the appropriate integration for the type of component you are trying to include in your page.

对于 JSX / TSX 文件,可以使用 @astrojs/react@astrojs/preact@astrojs/solid-js。对于 Vue 和 Svelte 文件,可以分别使用 @astrojs/vue@astrojs/svelte 集成

¥For JSX / TSX files, @astrojs/react, @astrojs/preact or @astrojs/solid-js can be used. For Vue and Svelte files, the @astrojs/vue and @astrojs/svelte integrations can be used respectively

也可以看看:

¥See Also:

Astro 中文网 - 粤ICP备13048890号