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

windicss cannot transform className like text-title-1 #808

Open
LaamGinghong opened this issue Jul 4, 2022 · 1 comment
Open

windicss cannot transform className like text-title-1 #808

LaamGinghong opened this issue Jul 4, 2022 · 1 comment

Comments

@LaamGinghong
Copy link

https://stackblitz.com/edit/vitejs-vite-szhsfb?file=windi.config.ts,src%2FApp.tsx&terminal=dev
This is the least reproducible case.

In my configuration, I've defined 2 classNames.

However, text-title-1 doesn't work but is working in tailwindcss

@AndrewBogdanovTSS
Copy link

Looks like it's something to do with - in your property name, you can workaround it by just using title1 instead of title-1

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