Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support importing deps with relative path in app.css #632

Open
leandrocp opened this issue Oct 31, 2024 · 0 comments
Open

Support importing deps with relative path in app.css #632

leandrocp opened this issue Oct 31, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@leandrocp
Copy link
Contributor

leandrocp commented Oct 31, 2024

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";

@leandrocp leandrocp added the bug Something isn't working label Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant