Commit graph

83 commits

Author SHA1 Message Date
chaosprint
257465a6d5 add shared array buffer support for dev server as opt config 2023-05-06 08:13:28 +02:00
Jonathan Kelley
c4a307ac95 publish new version of cli
note that we have to use a slightly outdated version of the hot reloading crate.
2023-03-24 09:49:39 -07: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
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
Koji AGAWA
32ea636bc7 fix: rebuild hangs on windows 2023-02-11 22:40:48 +09:00
Jonathan Kelley
e1705a2920 Merge branch 'master' into jk/autofmt-project 2023-01-12 15:43:23 -08:00
Jonathan Kelley
964725a069 feat: enable project autoformatting 2023-01-12 15:36:10 -08:00
Jonathan Kelley
479ee2a0f1 chore: use rosetta 2022-12-29 02:24:24 -05:00
Jonathan Kelley
fa52a8f71a Merge branch 'master' into jk/formatting-and-extension 2022-12-25 23:38:33 -05:00
Evan Almloff
33e3f9c360 move hot reloading utilities to dioxus repository 2022-12-23 15:42:14 -06:00
Evan Almloff
9261e4d5e9 fix diffing 2022-12-20 15:07:35 -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
Jonathan Kelley
7d49f71cd5 fix: disable hotreloaidng stuff 2022-12-11 12:54:17 -08:00
Jonathan Kelley
aa05dc3054 fix: builds of CLI 2022-12-07 12:55:28 -08:00
Jon Kelley
2e804f71b3
Merge pull request #57 from mrxiaozhuox/master 2022-11-18 18:48:38 -08:00
Jonathan Kelley
d39045799e chore: bump version 2022-11-14 18:10:22 -08:00
Jonathan Kelley
4936e38f82 chore: publish 0.2 2022-11-14 18:09:54 -08:00
Jonathan Kelley
7a6b58d793 wip: more tweaks 2022-11-14 18:09:09 -08:00
YuKun Liu
39e38917d6 feat: add api function 2022-10-12 16:37:26 -07:00
YuKun Liu
5104f767b3 Merge branch 'master' of https://github.com/DioxusLabs/cli 2022-10-03 09:37:26 -07:00
YuKun Liu
77393b273e feat: commit plugin error handle 2022-10-01 15:17:09 -07:00
YuKun Liu
20c29ed042 feat: add serve-shutdown support 2022-09-21 22:57:26 -07:00
YuKun Liu
37ef7c3ff9 feat: support some event 2022-09-21 16:56:36 -07:00
YuKun Liu
9f20337e5e feat: rebuild supported 2022-08-27 21:56:31 -07:00
Evan Almloff
7b9a321356 update to work with templates 2022-08-26 16:28:46 -05:00
mrxiaozhuox
062d0eab47 feat: commit serve info 2022-08-23 15:41:39 -07:00
mrxiaozhuox
6c1374edb3 feat: commit code 2022-08-22 11:00:31 -07:00
YuKun Liu
0e8414b40a
Merge branch 'master' into master 2022-08-18 16:33:09 -07:00
trevyn
6d9ec38eac update for notify 5.0.0-pre.16 2022-08-15 07:47:19 -04:00
mrxiaozhuox
2ad5c7e282 feat: commit file download 2022-08-01 16:03:17 +08:00
mrxiaozhuox
da53c67841 feat: commit plugin interface 2022-07-27 23:51:35 +08:00
mrxiaozhuox
a21433016a fix: update wasm-bindgen version 2022-07-26 17:03:34 +08:00
mrxiaozhuox
09311ff132 feat: add plugin mod 2022-07-24 19:00:43 +08:00
YuKun Liu
0adabf68a0 feat: clean warning info 2022-07-10 11:28:20 +08:00
YuKun Liu
526a88cab1 feat: commit code 2022-07-09 14:16:19 +08:00
YuKun Liu
dfe571df1a feat: commit prettier_build 2022-07-09 10:09:25 +08:00
YuKun Liu
eb0145173d feat: add indicatif crate 2022-07-09 00:32:23 +08:00
YuKun Liu
7860f8b931 feat: commit code 2022-07-07 23:03:30 +08:00
YuKun Liu
719e48c0a5 feat: beautify console 2022-07-06 16:16:16 +08:00
Jonathan Kelley
baab2b9b4f feat: use local bundle strategy 2022-07-06 00:45:22 -04:00
Evan Almloff
abded864c3 update hot_reload to hot-reload 2022-06-28 09:59:05 -05:00
Demonthos
f8014f307b depend on dioxus master until next release 2022-06-21 10:19:42 -05:00
Evan Almloff
11d045deeb Merge https://github.com/DioxusLabs/cli into hot_reload 2022-06-16 13:20:41 -05:00
Evan Almloff
fb7ea5915b use cli flag instead of feature flag 2022-06-14 09:47:16 -05:00