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

Styles dont publish because they dont exist #1

Closed
MACscr opened this issue Feb 16, 2022 · 1 comment
Closed

Styles dont publish because they dont exist #1

MACscr opened this issue Feb 16, 2022 · 1 comment

Comments

@MACscr
Copy link

MACscr commented Feb 16, 2022

Since the template has things like {{$bgColorCss}} instead of the color and same with position, thus postcss isnt going to see the actual classes and include them instead of purging them. How do we solve this?

@ascsoftw
Copy link
Owner

You can add the relevant classes to the safelist.
https://tailwindcss.com/docs/content-configuration#safelisting-classes

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