You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when use custom HTML functionality, have two question(dioxus-0.6.0):
one question:
when use:
LaunchBuilder::new().with_cfg(dioxus::desktop::Config::default().with_custom_index(filestr)).launch(app);
this filestr have "html" "head" "body" element, if "body" only have "table" element, the app can run, if you add like "div" "p" ,this app can run
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
when use custom HTML functionality, have two question(dioxus-0.6.0):
one question:
when use:
LaunchBuilder::new().with_cfg(dioxus::desktop::Config::default().with_custom_index(filestr)).launch(app);
this filestr have "html" "head" "body" element, if "body" only have "table" element, the app can run, if you add like "div" "p" ,this app can run
two question:
rsx! {
Script {src: "./examples/assets-html/test.js",}
head::Script{src: asset!("./examples/assets-html/test1.js"),} //sqlite
head::Link { rel: "stylesheet", href: asset!("./examples/assets-html/test.css") }
}
run app, save as html file and open it, find:
<script></script><script></script>How to solve it
Beta Was this translation helpful? Give feedback.
All reactions