question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Safelist option doesn't work ?

See original GitHub issue

Version

@nuxtjs/tailwindcss: ^4.0.1 nuxt: 2.15.3

Reproduction Link

https://codesandbox.io/s/elegant-tu-xipm4

Steps to reproduce

  • Add classes on purge: { options: { safelist: [] } } doesn’t work

What is Expected?

  • I would like to force tailwind to keep safelist classes

What is actually happening?

  • Safelist doesn’t worked

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9

github_iconTop GitHub Comments

1reaction
ghostcommented, Mar 19, 2021

I think with JIT it works in reverse. It’s not purging now but creating classes on the fly.

1reaction
ghostcommented, Mar 19, 2021

You’re using JIT which doesn’t support it yet https://github.com/tailwindlabs/tailwindcss-jit#known-limitations

Read more comments on GitHub >

github_iconTop Results From Across the Web

Safelist option doesn't work ? · Issue #312 · nuxt-modules ...
Steps to reproduce. Add classes on purge: { options: { safelist: [] } } doesn't work ; What is Expected? I would like...
Read more >
Safelisting - PurgeCSS
PurgeCSS is a tool to remove unused CSS from your project.
Read more >
Outlook Safe-sender list group policy not working
4 Answers · Add the sender to safe sender list(through Outlook client or Exchange PowerShell) · Turn off "don't download picture automatically" in ......
Read more >
Safelist email addresses in an email client or security program
Open the email. In the Toolbar options at the top, click the Safe Lists drop-down. Note: This is located in the "Junk Email"...
Read more >
Solved: Safelist/Blocklist syntax - Cisco Community
No, you don't... and you don't need the @ sign either. Taken from the online help: To manage safelists and blocklists, choose Options...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found