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

Nuxt image not working #1821

Open
FabienVINCENT opened this issue Jan 13, 2023 · 4 comments
Open

Nuxt image not working #1821

FabienVINCENT opened this issue Jan 13, 2023 · 4 comments
Labels

Comments

@FabienVINCENT
Copy link

Environment

Nuxt project info: 23:35:51


Reproduction

Install nuxt-content
Install @nuxt/image-edge
add :nuxt-img{src="https://placekitten.com/1000/300"} in a .md file

Describe the bug

The component won't load

Additional context

No response

Logs

[Vue warn]: Failed to resolve component: nuxt-img                                                                                                                                                                                                                                                                                                                        23:37:40
If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.
@ZacJenks-campbell
Copy link

I am getting: [Vue warn]: Failed to resolve component: nuxt-img. I saw a similar issue 435, that was moved to issue 500 and I am wondering if there is a reason that the component isn't being resolved. I have the component registered in nuxt.config.ts as '@nuxt/image-edge' and the requisite image settings in the same file. Any suggestions would be much appreciated.

@toniengelhardt
Copy link

toniengelhardt commented Jul 26, 2023

Have the same issue...

@ZacJenks-campbell did you find a solution by now?

@nobkd
Copy link
Contributor

nobkd commented Aug 14, 2023

I think, that's because the component isn't registered globally.

Maybe this discussion #2082 (comment) referencing this #390 (comment) helps

Copy link

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 github-actions bot added the Stale label Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants