layz
layz
NNuxt
Created by layz on 11/26/2024 in #❓・help
MDC Prose components not rendering on deploy
Environment : Operating System: Windows_NT Node Version: v22.11.0 Nuxt Version: 3.14.159 CLI Version: 3.15.0 Nitro Version: 2.10.4 Package Manager: [email protected] Builder: - User Config: default Runtime Modules: @nuxt/[email protected], @nuxtjs/[email protected], @nuxtjs/[email protected], @vueuse/motion/[email protected], [email protected], @pinia/[email protected], pinia-plugin-persistedstate/nuxt, [email protected], [email protected] Build Modules: - Nuxt content version v3.0.0-alpha.6 Reproduction Create custom prose components to override default. Like create a ProseA file in components/content folder with the code provide in mdc docs then npx nuxi generate to generate static deployment and preview. Hello, When I try to preview my app for deployment using npx nuxi generate, my custom Prose components from the components/content folder are no longer rendering. However, they render correctly in the local environment. I have nothing special in my nuxt.config to refer to prose components. Has anyone encountered a similar problem or have any suggestions for troubleshooting?
5 replies