Commit graph

4201 commits

Author SHA1 Message Date
Nils Martel
41e5ce367b
Make error more illuminating
I was wondering what the previous error message ment.
So I had to look it up.

Cargo directory might just mean ~/.cargo
2023-03-02 11:00:56 +01:00
Jon Kelley
915406666d
Merge pull request #857 from Demonthos/fix-trait-bounds-inline-props 2023-03-01 21:43:43 -08:00
Evan Almloff
bfdcad6ede fix trait bounds on generics with inline_props 2023-03-01 20:41:49 -06:00
Evan Almloff
2d21f7ade1 add a shortcut for ctrl-r to prevent it breaking the application 2023-03-01 13:32:13 -06:00
Evan Almloff
ef9731eb74 update docs about dioxus desktop 2023-03-01 13:28:04 -06:00
Evan Almloff
cf2a79c173 create global shortcut handler for dioxus desktop 2023-03-01 13:23:15 -06:00
Evan Almloff
abcb3f57f0 create global shortcut handler for dioxus desktop 2023-03-01 13:15:58 -06:00
YuKun Liu
3ff6896c4d
Merge pull request #111 from Demonthos/fix-non-rs-files-hot-reloading
Fix reloading non rust files when hot reloading is enabled
2023-03-01 09:22:50 -08:00
Evan Almloff
c5bf525547 fix reloading non rust files when hot reloading is enabled 2023-03-01 09:09:30 -06:00
Evan Almloff
b91e010ac7 WIP: use shipyard ecs 2023-02-28 13:26:49 -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
Jon Kelley
49c5a5043a
Merge pull request #853 from Demonthos/fix-provide-context-docs
Fix the provide context docs
2023-02-27 15:04:49 -08:00
Evan Almloff
2c0eb303f6 fix the provide context docs 2023-02-27 15:05:49 -06: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
Evan Almloff
55787c2e7d fix hot reloading in a workspace 2023-02-26 18:42:14 -06:00
Jon Kelley
264f04fc30
Merge pull request #845 from davidpdrsn/fix-typos
Fix typos in live view examples for axum and salvo
2023-02-24 14:12:51 -08:00
David Pedersen
bf3f7ec490 Fix typos in examples 2023-02-24 22:41:16 +01:00
Jon Kelley
74b8f6165d
Merge pull request #842 from Demonthos/linux-hot-reloading-fix 2023-02-24 13:33:25 -08:00
Jon Kelley
7e7829f34d
Merge pull request #841 from flisky/master
0.2 -> 0.3 migration changes
2023-02-24 13:12:37 -08:00
Evan Almloff
2c629f6d13 use namespaced path instead of local path 2023-02-23 12:05:17 -06:00
Yin Jifeng
fdd71c11fe chore: export AtomId 2023-02-23 16:39:59 +08:00
Yin Jifeng
62d30bc254 chore: reimplement usefuture::state 2023-02-23 16:39:50 +08:00
Jonathan Kelley
f664ce8fe0 Merge branch 'master' of github.com:DioxusLabs/dioxus 2023-02-22 13:06:41 -08:00
Jonathan Kelley
018a6e7578 bump dioxus, html, and hot-reload 2023-02-22 13:06:33 -08:00
Jonathan Kelley
b27db17f76 bump hot-reload 2023-02-22 12:55:54 -08:00
Jon Kelley
133e2b4d05
Merge pull request #840 from mirkootter/master 2023-02-22 12:40:06 -08:00
Jonathan Kelley
ab0023129d bump rsx 2023-02-22 12:22:45 -08:00
Jonathan Kelley
67fd94299a bump native core 2023-02-22 12:21:28 -08:00
Jonathan Kelley
ad70b46776 bump native core macro 2023-02-22 12:16:35 -08: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
Jon Kelley
34e9ab531a
Merge pull request #839 from Demonthos/hot-reloading-resilient
[Hot reloading] Collect non-fatal errors when searching for files
2023-02-22 11:50:16 -08:00
Jan-Mirko Otter
9ac8210196 PartialEq for UseState/UseCoroutine 2023-02-22 20:26:21 +01:00
Evan Almloff
c012855659 collect non-fatal errors in hot reloading 2023-02-22 09:18:12 -06: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
Jon Kelley
d40720391a
Merge pull request #830 from Demonthos/fix-doc-links 2023-02-18 16:48:22 -08:00
Evan Almloff
a51f67c2ec add version to docs links in readmes 2023-02-18 18:38:30 -06:00
Jon Kelley
4f0f2484fd
Merge pull request #774 from Demonthos/update-doc-links
Update guide doc links
2023-02-17 11:53:15 -08: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
Jonathan Kelley
084aff8f31 dont build reference 2023-02-16 15:20:18 -08:00
Jonathan Kelley
6090dc063a fix path 2023-02-16 15:03:52 -08:00
Jonathan Kelley
2075ff3039 add more builds to docs 2023-02-16 14:57:32 -08:00
Jonathan Kelley
f420c6f333 bump web and interpreter 2023-02-16 13:42:49 -08:00
Jonathan Kelley
33397b290d bump core 2023-02-16 12:13:27 -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
Jon Kelley
7d37dc39d5
Merge pull request #829 from Demonthos/fix-pre-tag-ssr 2023-02-14 11:36:02 -08:00