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

How to integrate with Tailwind + svelte? #5

Closed
wighawag opened this issue Jun 25, 2020 · 3 comments
Closed

How to integrate with Tailwind + svelte? #5

wighawag opened this issue Jun 25, 2020 · 3 comments

Comments

@wighawag
Copy link

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?

@milesmcc
Copy link
Owner

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?

@wighawag
Copy link
Author

wighawag commented Jun 25, 2020

I tried that andd added postcss-import but could not get it to work. nothing get added in the bundled css.

@milesmcc
Copy link
Owner

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.

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

No branches or pull requests

2 participants