Css files not loading with actix #527
Replies: 4 comments
-
Typically template engine is not responsible for css loading. Could you please check your generated content to see if it has correct css file path? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
You are using the file system absolute path for the css file. Just remove the path |
Beta Was this translation helpful? Give feedback.
-
The answer is no, im not sure what is going on for it not to work but its not working. I tried with |
Beta Was this translation helpful? Give feedback.
-
I have
[dependencies]
actix-web = "4"
actix-files = "0.6.2"
handlebars = { version = "4.2.1", features = ["dir_source"] }
serde = { version = "1.0.143", features = ["derive"] }
serde_json = "1.0.72"
Beta Was this translation helpful? Give feedback.
All reactions