Merge branch 'master' into master

This commit is contained in:
YuKun Liu authored and GitHub committed 2022-04-07 13:53:41 +08:00
commit 01f623d1fd
3 files changed
+30 -22

No files matched your search

+6 -1
View File
@@ -132,7 +132,7 @@ pub fn build(config: &CrateConfig) -> Result<()> {
);
}
}
// this code will copy all public file to the output dir
let copy_options = fs_extra::dir::CopyOptions {
overwrite: true,
@@ -327,6 +327,11 @@ pub fn gen_page(config: &DioxusConfig, serve: bool) -> String {
html = html.replace("{app_name}", &config.application.name);
html = match &config.web.app.base_path {
Some(path) => html.replace("{base_path}", path),
None => html.replace("{base_path}", "."),
};
let title = config
.web
.app