Skip to content

MDC Prose components not rendering #2871

@llayz46

Description

@llayz46

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: yarn@1.22.22
  • Builder: -
  • User Config: default
  • Runtime Modules: @nuxt/content@3.0.0-alpha.6, @nuxtjs/tailwindcss@6.12.2, @nuxtjs/google-fonts@3.2.0, @vueuse/motion/nuxt@2.2.6, nuxt-time@1.0.2, @pinia/nuxt@0.7.0, pinia-plugin-persistedstate/nuxt, nuxt-gtag@3.0.2, shadcn-nuxt@0.11.3
  • Build Modules: -

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.

Description

Hello,

I'm not sure what is causing this issue, but 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?

Additional context

No response

Logs

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingv3

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions