script_bridge.rs, index.js
This commit is contained in:
parent
a58ea4fba5
commit
a299ae1082
5 changed files with 33 additions and 1 deletions
|
@ -5,6 +5,10 @@ async fn frontend() -> Frontend {
|
|||
"<style>",
|
||||
include_str!("../style.css"),
|
||||
"</style>"
|
||||
)).append_to_head(concat!(
|
||||
"<script type=\"module\">",
|
||||
include_str!("../index.js"),
|
||||
"</script>"
|
||||
))
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue