Post

🧵Oh right, I forgot to mention, I'm using Astro for one part that is serving and hosting my portfolio which holds component I want to render, and another part is a npm package which does use injected to render

Sorry i don't get it...you can still use a svelte config in astro, furthermore css injected can also be set in the component itself. You can also use the `render` method to get the component html which include css in the head if you use css injected.

In astro if I set css injected in svelte config and render in an astro page the styles don't show (while running in dev at least). But I think that is an astro issue. The static adapter works for both injected or external css setting. I was wondering if there was a way to achieve that?

0 reposts0 likes