improve dioxus create

This commit is contained in:
Evan Almloff committed 2023-06-26 13:12:42 -07:00
1 parent 9fbeb84921
commit 42011b7aa7
7 files changed
+1326 -498

No files matched your search

+2 -2
View File
@@ -4,7 +4,7 @@ use super::*;
#[derive(Clone, Debug, Default, Deserialize, Parser)]
pub struct ConfigOptsBuild {
/// The index HTML file to drive the bundling process [default: index.html]
#[clap(parse(from_os_str))]
#[arg(long)]
pub target: Option<PathBuf>,
/// Build in release mode [default: false]
@@ -37,7 +37,7 @@ pub struct ConfigOptsBuild {
#[derive(Clone, Debug, Default, Deserialize, Parser)]
pub struct ConfigOptsServe {
/// The index HTML file to drive the bundling process [default: index.html]
#[clap(parse(from_os_str))]
#[arg(short, long)]
pub target: Option<PathBuf>,
/// Port of dev server