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

Custom background color is not displayed in published versions #809

Closed
bbhxwl opened this issue Feb 19, 2024 · 4 comments
Closed

Custom background color is not displayed in published versions #809

bbhxwl opened this issue Feb 19, 2024 · 4 comments
Labels
need-repro Issue needs reproduction pending

Comments

@bbhxwl
Copy link

bbhxwl commented Feb 19, 2024

Version

@nuxtjs/tailwindcss: ^6.11.2
nuxt: ^3.10.2

Set the background color, which can be displayed in dev mode, but cannot be displayed in the official version released
Can only npm run dev, cannot npm run build

class="item flex flex-col px-2 py-1 bg-[#29B1C7] rounded"
@bbhxwl bbhxwl added the bug Something isn't working label Feb 19, 2024
@bbhxwl
Copy link
Author

bbhxwl commented Feb 19, 2024

The reason is because nuxt purge is used, why is it not compatible?

@ineshbose
Copy link
Collaborator

Can you provide a reproduction please?

@ineshbose ineshbose added need-repro Issue needs reproduction pending and removed bug Something isn't working labels Feb 23, 2024
@bbhxwl
Copy link
Author

bbhxwl commented Feb 23, 2024

Can you provide a reproduction please?

I understand, it's a bug that combines nuxt-purgecss.

Do you know how I can prevent him from covering the styles of h1~h6?

@ineshbose
Copy link
Collaborator

Answered in #812 👍

@ineshbose ineshbose closed this as not planned Won't fix, can't repro, duplicate, stale Feb 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need-repro Issue needs reproduction pending
Projects
None yet
Development

No branches or pull requests

2 participants