Merge pull request #85 from dxps/master

fix(#60): handling default cfg & kebab_case name
This commit is contained in:
YuKun Liu authored and GitHub committed 2022-12-25 15:30:34 -08:00
commit cd5599107f
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -53,6 +53,7 @@ impl Create {
.arg(&self.template)
.arg("--name")
.arg(&self.name)
.arg("--force")
.stdout(Stdio::piped())
.stderr(Stdio::inherit())
.output()?;
+1 -1
View File
@@ -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);