Style
#4734
Replies: 2 comments 1 reply
-
|
i set the following code in Dioxus.toml, but it is not working and i have to manually link each style sheet to html head |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
it also would be nice if dx uses tools for optimizing css under the hood |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
i am using sass and tailwind for styling
i have tailwind.css file at root of project, and styles directory that contains scss files at root of project too
in styles directory i have bunch of scss files that are loaded in main.scss file
my first problem is that when i use dx serve, it only watch for changes in main.scss file and ignore other files, so i change any other files and want to see changes i have to rebuild the project (i add watch_path = ["src", "assets", "styles"] to Dioxus.toml )
my second issue is that when i build project for output, i would have two css files
it would be nice if dx merge and optimized all the styles into one file
Beta Was this translation helpful? Give feedback.
All reactions