RafidMuhymin / astro-imagetools

Image Optimization tools for the Astro JS framework

Home Page:astro-imagetools-docs.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Using the API in JS frameworks (Vue, svelte, react)

silveltman opened this issue · comments

I suppose the components can only be used in .astro files since I see that the components themselves end in .astro.

However, the API's seem to be pure js/ts. Am I correct that I should be able to use these in all JS frameworks, like Vue, svelte and react?

If so, I see myself recreating the astro components in svelte for example. So I have a Image.svelte and a Picture.svelte component.