0

Is there a tailwind pattern that can include any modifiers written like this? component--modifier?

The modifier is dynamically concatenated. So with twig logic it looks like this {{ modifier ? 'block--' ~ modifier }}. Which is why it isn't being compiled.

The pattern needs to be [any_component_name]--[any_modifier_name]

So basically the middle bit is what needs to be recognised.

Dan Emery
  • 1
  • 1
  • 1
    Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking. – Community Feb 22 '23 at 23:24

0 Answers0