Open ferrucc-io opened 4 months ago
Would be nice if styles were scoped per component in a smart way
Not sure what's the best approach - but ideally we could rely on the tailwind setup of the parent project (?)
There's a huge discussion around this here, and there seems to be no straightforward answer: https://github.com/vitejs/vite/issues/1579
Could think about defining component css in layers https://tailwindcss.com/docs/functions-and-directives#using-apply-with-per-component-css
but it makes the components less copy-pasteable
Would be nice if styles were scoped per component in a smart way
Not sure what's the best approach - but ideally we could rely on the tailwind setup of the parent project (?)
There's a huge discussion around this here, and there seems to be no straightforward answer: https://github.com/vitejs/vite/issues/1579