Evan Almloff
a27d4e71ed
Only compress web assets in the CLI ( #2329 )
...
* only compress web assets in the CLI
* precompressed -> pre-compressed
* only enable pre-compression in release builds
2024-04-26 00:47:04 -04:00
alongdate
a5b4ceed39
chore: fix some typos in comments ( #2340 )
...
Signed-off-by: alongdate <alongyear@outlook.com >
2024-04-19 08:29:22 -05:00
Evan Almloff
e464294c66
fix hot reload on windows ( #2142 )
2024-03-26 00:36:11 -07:00
Evan Almloff
2ac4bdb673
Switch to tracing for the cli ( #2137 )
...
* switch to tracing in the dioxus-cli
* bump manganis
* fix manganis features
* only print processing assets if skip assets is disabled
* switch all logs to tracing
* switch to published version of manganis
* undo all changes to cargo.toml
* remove reference to log
2024-03-25 15:21:51 -05:00
Miles Murgaw
acbf7dfc4f
fix: hot reload blocking ( #2127 )
2024-03-22 14:36:49 -07:00
Jonathan Kelley
6c9f991f0b
hotfix: finding hotreload path fails when not running under cargo
2024-03-20 09:54:57 -07:00
Jonathan Kelley
e923c6462c
Resume window position/size, watch cargo/dioxus tomls, fix css reverting during hotreloading, allow menubar events to be captured from within dioxus ( #2116 )
...
* Fix: css hotreloading being invalidated, watcher not watching cargo/dioxus tomls, add feature to restore window state
* Make clappy hippier
* remove console log
* use simpler css invalidator
* Less flash, remove log on web hotreload
* Fix floating window managed behavior on mac
* clippy...
2024-03-20 09:16:18 -07:00
Jonathan Kelley
10d361a44e
Fix proxy ( #2108 )
2024-03-18 22:21:07 -07:00
Jonathan Kelley
9474ad54cc
Make clippy happy
2024-03-14 22:40:23 -07:00
Jonathan Kelley
efb21b24ca
Log watched dirs in status console
2024-03-14 09:20:51 -07:00
Jonathan Kelley
bb8b4dc2fb
FIx:
...
- asset hotreloading for desktop,
- asset dir for dxserve on desktop,
- extend features with platform
2024-03-13 17:15:49 -07:00
Jonathan Kelley
3d699e7a75
Match on more places for asset reloading
2024-03-13 15:10:44 -07:00
Jonathan Kelley
8d8e7edb82
Clean up reloader
2024-03-13 14:36:56 -07:00
Jonathan Kelley
1bdc9d132e
Load tracked assets
2024-03-13 14:35:28 -07:00
Jonathan Kelley
982b96074a
Add basic hotreload test samples
2024-03-13 13:07:15 -07:00
Jonathan Kelley
bca5335f31
fix: hotreloading files with multiple templates, asset hotreloading
2024-03-13 02:13:37 -07:00
Jonathan Kelley
ad7a350d2e
fix hotreloading issues in the CLI
2024-03-12 13:39:42 -07:00
Evan Almloff
6b84f284c9
fix manganis assets overlapping between examples
2024-03-11 17:11:52 -05:00
JeremyChen and Jeremy Chen
70f97ec787
enhance: avoid failed hot-reload if backup file like .rs~ generate ( #2048 )
...
(cherry picked from commit 8565bca11b72b09d598bbbc9bb2ba77bab262db5)
Co-authored-by: Jeremy Chen <jeremychen@djeremychen.com >
2024-03-11 09:30:25 -05:00
Evan Almloff
c4a4a31eec
Merge branch 'master' into pr/atty303/1948
2024-02-19 08:35:31 -06:00
Jonathan Kelley
ebdb98bff2
Make clippy happy, pass tests
2024-02-18 21:08:48 -08:00
Jonathan Kelley
d732269b8f
backend proxy tests almost work!
2024-02-18 09:45:27 -08:00
Evan Almloff
e7d8a25d17
get the dioxus CLI compiling
2024-02-16 14:55:44 -06:00
Koji AGAWA
1f0e03ca19
feat(fullstack): support wasm target
2024-02-17 05:12:33 +09:00
Evan Almloff
194d90e66f
fix a few CLI errors
2024-02-16 12:39:36 -06:00
Jonathan Kelley
2763adb2d3
clean up workflow, fix some more axum stuff
2024-02-15 19:03:46 -08:00
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
b4d17abfc1
document all features
2024-02-09 12:15:59 -06: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
YuKun Liu
492f49700a
fix: cargo fmt
2024-01-28 11:52:42 -08:00
YuKun Liu
a0508861bc
fix: upgrade crates & fixed repeat build error
2024-01-28 11:51:02 -08:00
Jonathan Kelley
d8af9b7ed1
Fix compile checks on numerous packages using --all --all-features
2024-01-18 16:27:43 -08:00
Jonathan Kelley
fae0b08e61
Fix the router and stub out a number of crates to get compiling
2024-01-13 20:51:37 -08:00
Evan Almloff
e004c1722f
set the required environment variable for manganis support
2024-01-10 11:19:51 -06:00
Evan Almloff
2cc6f2f51f
fix merge and reorganize the CLI a bit
2024-01-08 13:39:12 -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
15dff7ad55
delete a leftover dioxusin file on all unix operating systems, not just mac
2023-12-30 11:58:09 -06:00
Evan Almloff
ab79c00cd8
kill the fullstack server before starting another one
2023-12-29 16:07:44 -06:00
Evan Almloff
49be972507
make dx clean clean the new .dioxus directory
2023-12-29 15:20:30 -06:00
Evan Almloff
1683ec8a72
introduce RAIIChild to drop the child process for desktop even when the exit is not planned
2023-12-29 14:36:18 -06:00
Evan Almloff
d88a662877
Rename --debug to --force-debug and improve docs
2023-12-29 11:11:39 -06:00
Evan Almloff
1acfd46b0b
fix formatting
2023-12-29 10:08:10 -06:00