Open Stay1444 opened 1 year ago
I'm trying to use the style_sheet! macro but it always complains saying that the file does not exist.
This is my project structure (the relevant parts)
< - root - >
I'm trying to import main_layout.css from main_layout.rs
I tried placing the css file in src, and in the root directory. Always complains. I tried with the following paths
main_layout.css ./main_layout.css src/layouts/main_layout.css ./src/layouts/main_layout.css layouts/main_layout.css ./layouts/main_layout.css
It does not work at all
Can you please push some sample code on git and share it here?
I'm trying to use the style_sheet! macro but it always complains saying that the file does not exist.
This is my project structure (the relevant parts)
< - root - >
I'm trying to import main_layout.css from main_layout.rs
I tried placing the css file in src, and in the root directory. Always complains. I tried with the following paths
It does not work at all