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

style_sheet! not working (File not found) #31

Open
Stay1444 opened this issue Jul 5, 2023 · 1 comment
Open

style_sheet! not working (File not found) #31

Stay1444 opened this issue Jul 5, 2023 · 1 comment

Comments

@Stay1444
Copy link

Stay1444 commented Jul 5, 2023

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

@abishekatp
Copy link
Owner

abishekatp commented Jul 11, 2023

Can you please push some sample code on git and share it here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants