Support importing deps with relative path in `app.css`
Opened this issue · 0 comments
leandrocp commented
In short, support @import "../../deps/petal_components/assets/default.css";
The problem is that the TailwindCompiler
needs to concat custom stylesheet with the provided user config tailwind_css
so it will create a temp file in a temp dir instead of just using the path of app.css
which will break any relative path.
That creates a conflict between :tailwind_css
and Beacon.Content.Stylesheet
, ie: we should find a way to inject Stylesheet
content into app.css
, for eg: @import "beacon/stylesheet";