feat: commit code

This commit is contained in:
YuKun Liu committed 2022-07-09 22:21:21 +08:00
1 parent dfcf4e1f88
commit c97d7f263a
3 files changed
+4 -4

No files matched your search

+1
View File
@@ -66,6 +66,7 @@ impl Create {
let mut meta_file = String::new();
dioxus_file.read_to_string(&mut meta_file)?;
meta_file = meta_file.replace("{{project-name}}", &self.name);
meta_file = meta_file.replace("{{default-platform}}", "web");
File::create(project_path.join("Dioxus.toml"))?.write_all(meta_file.as_bytes())?;
println!();