stylers
stylers copied to clipboard
style_sheet! not working (File not found)
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 - >
- src
-
- layouts
-
-
- main_layout.rs
-
-
-
- main_layout.css
-
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