content icon indicating copy to clipboard operation
content copied to clipboard

Markdown Vue Components (Nuxt Content)

Open neneodonkor opened this issue 1 year ago • 2 comments

Environment

Operating System: Windows_NT
Node Version: v22.9.0
Nuxt Version: 3.13.2
CLI Version: 3.13.2
Nitro Version: 2.9.7
Package Manager: [email protected]
Builder: -
User Config: compatibilityDate, future, devtools, experimental, unhead, modules
Runtime Modules: @nuxt/[email protected], @nuxt/[email protected]
Build Modules: -

Reproduction

It's basically an issue of folder structure.

Describe the bug

In Nuxt v3, we were to place Markdown Vue Components in the components/content folder. I switched to Nuxt v4, and it seems Nuxt is not able to load the component. I presume there is a different structure for that. Does any one know the new folder for Markdown Vue Components?

371723698-557c3e21-9268-4fc6-9215-6db47d329888

Additional context

No response

Logs

No response

neneodonkor avatar Oct 01 '24 09:10 neneodonkor

Issue was first reported here: https://github.com/nuxt/nuxt/issues/29210

neneodonkor avatar Oct 01 '24 09:10 neneodonkor

The easy fix I used was to make the component global: Component.global.vue

neneodonkor avatar Oct 04 '24 16:10 neneodonkor

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.

github-actions[bot] avatar Dec 04 '24 02:12 github-actions[bot]

This issue was closed because it has been stalled for 30 days with no activity.

github-actions[bot] avatar Jan 16 '25 15:01 github-actions[bot]