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
05476cad76
Merge branch 'main' into jk/fix-hotreloading-issues
2024-03-12 14:38:36 -07:00
Evan Almloff
82ab212414
don't quit serving early if builds fail
2024-03-12 16:37:20 -05: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
70f97ec787
enhance: avoid failed hot-reload if backup file like .rs~ generate ( #2048 )
...
(cherry picked from commit 8565bca11b
)
Co-authored-by: Jeremy Chen <jeremychen@djeremychen.com>
2024-03-11 09:30:25 -05:00
Robin Tretter
8eda67ecb2
added hot-reload as config option with default to true ( #2024 )
2024-03-08 14:54:03 -06:00
rtretter
3ffb1facf3
search for first valid platform in features
2024-03-06 21:38:11 +01:00
rtretter
f62c81ea0d
added automatic platform detection to cli if none is passed
2024-03-06 21:16:51 +01:00
Jonathan Kelley
be29c1fdaa
chore: move all packages onto workspace versions
2024-02-21 14:30:13 -08: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
f4651cecb8
Merge pull request #1916 from DogeDark/master
...
Add Prerelease Doc Generation
2024-02-09 12:45:59 -06:00
Evan Almloff
b4d17abfc1
document all features
2024-02-09 12:15:59 -06:00
Evan Almloff
d1ed15c2ac
fix autofmt tests
2024-02-08 10:13:57 -06:00
Evan Almloff
23e15ee9c8
change rustfmt flag to all_code now that we don't use rustfmt
2024-02-08 10:03:52 -06:00
Evan Almloff
b88c66d8df
report syn parse errors to the user
2024-02-08 10:00:25 -06:00
Evan Almloff
65d4f922b4
Merge branch 'master' into pr/Dangerised/1902
2024-02-08 09:41:08 -06:00
Dangerise
c89a4b37dc
remove the link in comment and unused error variant
2024-02-07 22:35:55 +08:00
Evan Almloff
3270f7341a
fix manganis support for dioxus desktop
2024-02-06 11:39:30 -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
Dangerise
82fc7acaa5
remove debug print
2024-02-06 21:04:37 +08:00
Dangerise
71125c22e0
remove unused import
2024-02-06 21:03:04 +08:00
Dangerise
d170304a59
remove dead code
2024-02-06 21:01:33 +08:00
Dangerise
192fa3471b
clippy fix
2024-02-06 20:56:12 +08:00
Dangerise
f40e2f3cef
replace gitignore with ignore
2024-02-06 20:53:28 +08:00
Jonathan Kelley
4f8868d43d
Merge pull request #1791 from ealmloff/breaking
...
Remove scope, use_state, use_ref, bump allocator and make everything 'static
2024-02-05 14:19:47 -08:00
Andrew Voynov
ea9622a75c
fix(serve): fixed long rebuilds with dx serve
2024-02-06 00:27:45 +03:00
Evan Almloff
417cea7569
Merge pull request #1898 from Andrew15-5/fix-fullstack-cli-build
...
Now fullstack client uses correct config via `dx build`
2024-02-05 09:28:45 -06:00
Dangerise
2eec2bc673
add rustfmt support
2024-02-05 21:51:49 +08:00
Andrew Voynov
009238b068
feat(cli): added short release
build option
...
Same as `cargo build` has `-r` now `dx build` and `dx bundle` also have
it. Since user probably wants to use these commands for production-ready
artifacts, the `--release` option is probably used often, same as with
`cargo build`. This allow users to use the same `build -r` "pattern".
2024-02-04 23:36:43 +03:00
Andrew Voynov
62b0f876f2
fix(build): now fullstack client uses correct config
2024-02-04 18:56:59 +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
ealmloff
d5c17af13c
Merge pull request #1882 from Andrew15-5/refactor-crateconfig-struct
...
Converted `out_dir` and `asset_dir` fields to methods in `CrateConfig` (cli-config refactor)
2024-01-30 16:24:14 -06: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
Andrew Voynov
c22014571e
refactor(cli): added multiple nested errors support
...
Before the top-level error message would print the dependent error
message. Now multiple nested errors can be shown (with anyhow context).
2024-01-30 18:09:21 +03:00
YuKun Liu
37e5f53f9e
Merge branch 'master' into master
2024-01-28 11:57:38 -08: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