Evan Almloff
c5bf525547
fix reloading non rust files when hot reloading is enabled
2023-03-01 09:09:30 -06:00
YuKun Liu
1587b687ca
Merge pull request #109 from sd2k/add-serve-proxy
...
Add minimal proxy capabilities to `dioxus serve`
2023-02-28 08:19:09 -08:00
Ben Sully
ead183dd2c
Add minimal proxy capabilities to dioxus serve
...
This adds an MVP of some proxying capabilities to the `dioxus serve`
server. The config is similar to that of `trunk serve`: the user can
specify one or more proxy backends under `[[web.proxy]]` in Dioxus.toml,
and the server will intercept requests targeted at the _path_ of that
configured backend and forward them to the backend server.
Example
-------
For example, if the dev server is serving on port 8080 with this config:
```
[[web.proxy]]
backend = "http://localhost:9000/api "
```
then requests to http://localhost:8080/api ,
http://localhost:8080/api/ and http://localhost:8080/api/any-subpath
to be forwarded to the respective paths on http://localhost:9000 .
This PR doesn't handle path rewriting or anything yet but it would be
fairly simple to add in future if anyone needs it.
2023-02-27 10:44:32 +00:00
Jon Kelley
6c2a51e453
Merge pull request #105 from Demonthos/hot-reloading-resilient
...
Log io errors instead of panicking for hot reloading
2023-02-22 11:50:39 -08:00
Jon Kelley
39b80129f9
Merge pull request #104 from Demonthos/don't-use-local-dependancies
...
use git dependencies
2023-02-22 11:50:30 -08:00
Evan Almloff
bfbda510fe
log errors instead of panicing on io errors
2023-02-22 09:09:00 -06:00
Evan Almloff
24fe266ce1
use git dependancies
2023-02-22 07:49:39 -06:00
Jonathan Kelley
09703ef858
Merge branch 'master' of https://github.com/jkelleyrtp/dioxus-studio
2023-02-16 16:35:47 -08:00
Jonathan Kelley
28a493984c
bump wasm-bindgen cli
2023-02-16 16:35:35 -08:00
YuKun Liu
90ee614ca3
Merge pull request #95 from mgbvox/mgb-dioxus-create
...
`dioxus create some_project` now actually creates said project
2023-02-15 14:16:57 -08:00
YuKun Liu
b20cf9b568
Merge pull request #98 from atty303/fix-windows-serve-rebuild
...
fix: rebuild hangs on windows
2023-02-15 14:14:49 -08:00
YuKun Liu
0538d19aeb
Merge pull request #99 from atty303/fix-serve-ip
...
fix: get_ip on watcher hangs on windows
2023-02-15 14:13:47 -08:00
Koji AGAWA
32ea636bc7
fix: rebuild hangs on windows
2023-02-11 22:40:48 +09:00
Koji AGAWA
3ca4628ae6
fix: get_ip on watcher hangs on windows
2023-02-11 22:38:38 +09:00
mgbvox
5ca3bdc279
remove unneeded installs
2023-01-19 14:13:05 -05:00
mgbvox
7e7ff2cb4c
removed dead code
2023-01-19 11:36:03 -05:00
mgbvox
e38092fc44
fixed cargo create bug
2023-01-19 11:35:25 -05:00
mgbvox
eb91d779cf
started tests; some minor build optimization
2023-01-19 10:18:36 -05:00
Jon Kelley
9b966202ed
Merge pull request #92 from DioxusLabs/jk/autofmt-project
...
feat: enable project autoformatting
2023-01-12 17:05:50 -08:00
Jonathan Kelley
af381a112f
chore: bump autofmt crate
2023-01-12 17:05:27 -08:00
Jonathan Kelley
e1705a2920
Merge branch 'master' into jk/autofmt-project
2023-01-12 15:43:23 -08:00
Jonathan Kelley
6684e17024
commit lockfile
2023-01-12 15:42:18 -08:00
Jon Kelley
26307f04d2
Merge pull request #86 from DioxusLabs/jk/cleanups
...
chore: use rosetta for translate module and cleanup some top level code
2023-01-12 15:41:56 -08:00
Jonathan Kelley
964725a069
feat: enable project autoformatting
2023-01-12 15:36:10 -08:00
Jon Kelley
93c7651312
Merge pull request #88 from dxps/typos
2023-01-07 14:28:43 -08:00
dxps
bb9b95fbd1
chore: typos
2023-01-06 17:13:08 +02:00
YuKun Liu
91fa5fa172
Merge pull request #87 from terhechte/patch-1
...
Move property so it is in the right category
2022-12-29 11:55:43 -08:00
Benedikt Terhechte
5d25a6498b
Move property so it is in the right category
...
index_on_404 was never used with the default config because the property is set on `web.watcher` and not on `web.app`
2022-12-29 11:57:13 +01:00
Jonathan Kelley
479ee2a0f1
chore: use rosetta
2022-12-29 02:24:24 -05:00
Jon Kelley
75e005f761
Merge pull request #35 from DioxusLabs/jk/formatting-and-extension
...
Formatting and extension
2022-12-25 23:39:45 -05:00
Jonathan Kelley
230c83c35b
fix: merge errors
2022-12-25 23:39:28 -05:00
Jonathan Kelley
98aa80d0c7
chore: commit cargo lock
2022-12-25 23:38:42 -05:00
Jonathan Kelley
fa52a8f71a
Merge branch 'master' into jk/formatting-and-extension
2022-12-25 23:38:33 -05:00
Jon Kelley
b482b4c35d
Merge pull request #84 from Demonthos/fix-hot-reloading
...
Fix hot reloading
2022-12-25 21:54:43 -05:00
YuKun Liu
cd5599107f
Merge pull request #85 from dxps/master
...
fix(#60 ): handling default cfg & kebab_case name
2022-12-25 15:30:34 -08:00
dxps
3209dd330b
fix( #60 ): handling default cfg & kebab_case name
...
closes #60
2022-12-25 16:54:09 +02:00
Evan Almloff
3cc52f432a
Merge branch 'fix-hot-reloading' of https://github.com/Demonthos/cli into fix-hot-reloading
2022-12-23 15:42:24 -06:00
Evan Almloff
33e3f9c360
move hot reloading utilities to dioxus repository
2022-12-23 15:42:14 -06:00
Evan Almloff
49a0400d95
don't use local dependencies
2022-12-22 19:36:25 -06:00
Evan Almloff
86e10a9858
fix some warnings and remove debugging statements
2022-12-22 17:00:55 -06:00
Evan Almloff
ef6ae642ba
fix hot reloading rsx with nested rsx calls
2022-12-22 16:37:15 -06:00
Evan Almloff
6f92e05d64
fix some warnings
2022-12-22 11:37:22 -06:00
Evan Almloff
9261e4d5e9
fix diffing
2022-12-20 15:07:35 -06:00
Evan Almloff
690aad7912
Merge branch 'fix-hot-reloading' of https://github.com/Demonthos/cli into fix-hot-reloading
2022-12-20 14:32:47 -06:00
Evan Almloff
fb7c55f9bd
match the render macro as well
2022-12-20 14:32:04 -06:00
=
f50988b01f
add serialize feature to core depenancy
2022-12-19 22:46:50 -06:00
Evan Almloff
c5ac7698fa
fix hot reloading
2022-12-19 20:48:35 -06:00
=
6da1b531bb
WIP update templates
2022-12-18 21:00:31 -06:00
Jonathan Kelley
15ec138320
chore: fix
2022-12-11 13:01:50 -08:00
Jonathan Kelley
21172850e8
chore: bumpb cli
2022-12-11 12:57:25 -08:00