Deprecate relative asset paths, better warnings for asset!() (#3214)

* Deprecate relative asset paths

* fix paths, better warnings in asset parser
This commit is contained in:
Jonathan Kelley authored and GitHub committed 2024-11-13 19:52:23 -05:00
1 parent 8a2922c663
commit ba4389567d
13 files changed
+95 -36

No files matched your search

+1 -1
View File
@@ -19,7 +19,7 @@ fn main() {
rsx! {
document::Link {
rel: "stylesheet",
href: asset!("./public/tailwind.css")
href: asset!("/public/tailwind.css")
}
ChildrenOrLoading {