Skip to content
This repository has been archived by the owner on Jun 30, 2023. It is now read-only.

Creating new image components #2

Closed
bronze opened this issue Feb 8, 2022 · 3 comments
Closed

Creating new image components #2

bronze opened this issue Feb 8, 2022 · 3 comments

Comments

@bronze
Copy link

bronze commented Feb 8, 2022

Hi

Im trying to create a new component so i can pass different options, following your markdownimage example.
But im getting an error about the lack of renderers

Unable to render BackgroundImage!

There are no `renderers` set in your `astro.config.mjs` file.

any tips on this?

@Princesseuh
Copy link
Owner

Hmm, just like that I'm not too sure. This error usually happens when Astro can't render the component, often because of a missing dependency or an import not working

Do you have an example of code or a reproduction on Stackblitz (or similar) I could look at?

@bronze
Copy link
Author

bronze commented Feb 8, 2022

yes, i was trying it out at one of my repos: https://stackblitz.com/github/bronze/digitalcanvas-com-br
trying to insert an image at index.astro

@Princesseuh
Copy link
Owner

Closing since this is very old and the Astro error handling around there has changed a lot since

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

No branches or pull requests

2 participants