Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Markdown Vue Components (Nuxt Content) #2800

Open
neneodonkor opened this issue Oct 1, 2024 · 2 comments
Open

Markdown Vue Components (Nuxt Content) #2800

neneodonkor opened this issue Oct 1, 2024 · 2 comments

Comments

@neneodonkor
Copy link

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
Copy link
Author

Issue was first reported here: nuxt/nuxt#29210

@neneodonkor
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant