diff --git a/src/cli/create/mod.rs b/src/cli/create/mod.rs index 658f02c2ff..9e405ed2fb 100644 --- a/src/cli/create/mod.rs +++ b/src/cli/create/mod.rs @@ -53,6 +53,7 @@ impl Create { .arg(&self.template) .arg("--name") .arg(&self.name) + .arg("--force") .stdout(Stdio::piped()) .stderr(Stdio::inherit()) .output()?; diff --git a/src/main.rs b/src/main.rs index db8bbb6b7f..434f012c7c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -7,7 +7,7 @@ async fn main() -> Result<()> { let args = Cli::parse(); set_up_logging(); - let dioxus_config = DioxusConfig::load()?; + let dioxus_config = DioxusConfig::load().unwrap_or(DioxusConfig::default()); let plugin_state = PluginManager::init(dioxus_config.plugin);