Is your feature request related to a problem? Please describe.
My project uses Tailwind. Generated with --css=tailwind option.
I'm also a heavy user of tailwindui.com, so naturally I wrap TailwindUI components into View Components
However, a fresh install of view_components-contrib makes it clear that no styles are going to be compiled by bin/rails tailwindcss:watch just because Tailwind doesn't know about those paths
Describe the solution you'd like
By default, config/tailwind.config.js contains those lines:
Is your feature request related to a problem? Please describe.
My project uses Tailwind. Generated with
--css=tailwind
option.I'm also a heavy user of tailwindui.com, so naturally I wrap TailwindUI components into View Components
However, a fresh install of
view_components-contrib
makes it clear that no styles are going to be compiled bybin/rails tailwindcss:watch
just because Tailwind doesn't know about those pathsDescribe the solution you'd like
By default,
config/tailwind.config.js
contains those lines:We might just go ahead and add
app/frontend/components
voilà, problem solved
Describe alternatives you've considered
It might be OK to just add this to
readme
instead of automating this as a featureAdditional context
None