• Resolved ju5t

    (@ju5t)


    Thanks for making this! I have a few, hopefully, simple questions:

    • Is it only aimed at block components? E.g. should you add another Tailwind version for the theme itself? I couldn’t find any information on it.
    • Is it using the JIT compiler and if so, how does it affect performance? Is it cached?
Viewing 1 replies (of 1 total)
  • Plugin Author leeshadle

    (@leeshadle)

    Hi @ju5t!

    It adds Tailwind CSS globally so you can use it with the block editor or a classic editor. No you don’t need to add another version of Tailwind for a theme.

    Yes it is using the JIT compiler. The pro version of the plugin gives you the ability to purge unused styles and only load styles used on the site. That being said the JIT compiler is actually very performant. I’ve been able to consistently get a 93 performance Google Lighthouse score with the JIT vs a 100 performance Google Lighthouse score compiling unused styles with the pro Draft plugin.

Viewing 1 replies (of 1 total)
  • The topic ‘Compilation’ is closed to new replies.