Commit Graph
32 Commits
Author SHA1 Message Date
Jonathan Kelley 64a321eacc Get more axum stuff upgraded to 0.7 2024-02-15 18:59:57 -08:00
Jonathan Kelley 214a907adc Upgrade to axum 0.7, drop 3rd party adapters 2024-02-15 18:05:30 -08:00
Evan Almloff 1909b05412 Merge branch 'master' into pr/Andrew15-5/1903 2024-02-06 10:28:49 -06:00
Evan Almloff 7f32809a96 use out_dir in a few more places 2024-02-06 10:27:26 -06:00
Andrew Voynov ea9622a75c fix(serve): fixed long rebuilds with dx serve 2024-02-06 00:27:45 +03:00
Jonathan Kelley 0bd9692e45 Fix cargo test and a number of little cleanup bugs 2024-01-30 17:33:14 -08:00
Jonathan Kelley eff1dd6c90 Merge branch 'master' into breaking 2024-01-30 16:20:19 -08:00
Andrew Voynov 48957b11d8 refactor(cli-config): modified CrateConfig struct
`out_dir` and `asset_dir` are now methods, because they derive from
`crate_dir` and `dioxus_config`.
2024-01-30 23:23:00 +03:00
Jonathan Kelley d8af9b7ed1 Fix compile checks on numerous packages using --all --all-features 2024-01-18 16:27:43 -08:00
Evan Almloff e004c1722f set the required environment variable for manganis support 2024-01-10 11:19:51 -06:00
Evan Almloff 23509ada9f Merge branch 'master' into cli-config-library 2024-01-08 13:24:16 -06:00
Evan Almloff b1de7d850c Merge branch 'master' into intigrate-collect-assets 2024-01-04 18:44:29 -06:00
ealmloff f913b2ce53 don't cache assets in the CLI (#1742) 2024-01-04 09:06:57 -06:00
Evan Almloff e11f3fdc48 fix clippy 2023-11-15 09:30:15 -06:00
Evan Almloff 9bb464dd7d fix cli tests 2023-11-15 09:29:15 -06:00
Evan Almloff cd48b3b7f9 allow base_path in the CLI 2023-11-15 08:23:12 -06:00
Evan Almloff 06be18a591 export lazy current config 2023-11-14 15:34:06 -06:00
Evan Almloff f976e08f71 Merge branch 'master' into intigrate-collect-assets 2023-09-17 19:40:14 -05:00
Evan Almloff 070ef6aec9 Merge branch 'master' into cli-serde-default 2023-09-17 19:00:13 -05:00
Evan Almloff 49a127b31e deduplicate serve code with hot reloading in the CLI crate 2023-09-09 16:18:52 -05:00
ealmloff d5d974d5a3 Bump the dioxus-cli to 0.4.1 (#1424)
* bump the dioxus-cli version

* bump DIOXUS_CLI_VERSION constant

* Merge branch 'master' into bump-cli
2023-09-04 15:10:27 -05:00
YuKun LiuandEvan Almloff 2cfa0e4ea9 fix: prettier_build unavailabe (#1410)
Co-authored-by: Evan Almloff <evanalmloff@gmail.com>
2023-09-02 18:31:34 -05:00
Evan Almloff e162e3e4cf fix formatting 2023-08-21 16:07:49 -05:00
Evan Almloff 99268acc05 add an option to skip assets in the CLI 2023-08-21 16:05:25 -05:00
Evan Almloff bd743fa2f9 Add fullstack platform to serve and build commands 2023-08-18 13:55:00 -05:00
Vinicius Gobbo Antunes de Oliveira fa39408d58 If mkcert not enabled, require cert_path and key_path to be specified or error. (#1342) 2023-08-17 07:58:56 -05:00
Evan Almloff 8b4e0b3e07 Use serde default instead of options in the CLI 2023-08-08 15:33:48 -07:00
Brian Donovan 6d154b5072 Minor Proxy Improvements (#1289)
* fix(serve): provide a clear error with pathless proxy URLs

Without this, `dx serve` panics with this message:

```
Paths must start with a `/`. Use "/" for
 root routes
 ```

 That's not very clear. Instead, we can detect this situation and provide a better error message:

```
Error: 🚫 Serving project failed: Failed to establish proxy: Proxy backend URL must have a non-empty path, e.g. http://localhost:8080/api instead of http://localhost:8080
```

* docs(config): correct format for `web.proxy`
2023-08-04 13:44:56 -05:00
Evan Almloff f3b3c0698b fix clippy 2023-07-18 12:43:02 -07:00
Evan Almloff 4a0869de7b cargo fix 2023-07-18 12:41:48 -07:00
Evan Almloff 2c1c147828 fix desktop hot reloading 2023-07-18 11:55:56 -07:00
Evan Almloff 0c5025ffa0 WIP desktop serve hot reload 2023-07-18 10:24:29 -07:00