How to integrate with Tailwind + svelte?
wighawag opened this issue · 3 comments
Hey a17t looks great, would like to use in my svelte-based project
I looked at #2 but when I am using svelte, I cannot seem to import css file.
I am using the following template : https://github.com/sarioglu/svelte-tailwindcss-template (https://dev.to/sarioglu/using-svelte-with-tailwindcss-a-better-approach-47ph)
and I cannot see how I can add a17t to the process. Any idea?
a17t is pretty framework agnostic, so there shouldn’t be anything too special about using it with Svelte.
Are you able to do @import “a17t”;
in the Tailwindcss.svelte file?
I tried that andd added postcss-import but could not get it to work. nothing get added in the bundled css.
Hmm, I’m not exactly sure then. I don’t know much about how Svelte handles css. Do the folks at tailwindcss-svelte have any idea? They might be more knowledgeable about Svelte’s internals.