You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This relates to #10974, which is good enough for the simple case, but when having multiple layout folders, Tailwind needs access to the composite source. Luckily that should be "small data", so I suggest pass down a HUGO_LAYOUTDIR to the JS environment and, in the more complex setups, sync that composite filesystem to a directory inside HUGO_CACHEDIR.
This relates to #10974, which is good enough for the simple case, but when having multiple layout folders, Tailwind needs access to the composite source. Luckily that should be "small data", so I suggest pass down a
HUGO_LAYOUTDIR
to the JS environment and, in the more complex setups, sync that composite filesystem to a directory insideHUGO_CACHEDIR
.So the Tailwind config could look like this:
The text was updated successfully, but these errors were encountered: