Skip to content
Discussion options

You must be logged in to vote

I managed to get to testing; I thought someone would have the solution off the cuff.

So, source(none) works perfectly, just as I expected.

@layer theme, base, components, utilities;

@import "tailwindcss/theme.css" layer(theme);
/* For disable Preflight just don't import preflight.css */
/* See more: https://tailwindcss.com/docs/preflight#disabling-preflight */
/* @import "tailwindcss/preflight.css" layer(base); */

@custom-variant dark (&:where(.dark, .dark *));
@source "./../../../resources/views/livewire/pulse/top-sellers.blade.php";

@theme {
  /* ... */
}

@layer utilities {
  #top-sellers {
    @tailwind utilities source(none); /* HERE */
  }
}

Additionally, I found that this syntax…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by rozsazoltan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants