feat: document and re-export dioxus-cli-config (#3515)
* feat: document and re-export dioxus-cli-config
This commit is contained in:
1 parent
d75cb59491
commit
bb3fd38231
7 files changed
+176
-29
No files matched your search
@@ -93,7 +93,7 @@ use dioxus::prelude::*;
|
||||
async fn main() {
|
||||
// Get the address the server should run on. If the CLI is running, the CLI proxies fullstack into the main address
|
||||
// and we use the generated address the CLI gives us
|
||||
let address = dioxus_cli_config::fullstack_address_or_localhost();
|
||||
let address = dioxus::cli_config::fullstack_address_or_localhost();
|
||||
|
||||
// Set up the axum router
|
||||
let router = axum::Router::new()
|
||||
|
||||
Reference in new issue
Block a user