YuKun Liu
cabec80ac5
Merge pull request #137 from chaosprint/support_dev_server_shared_array_buffer
...
set headers to support sab on dev server
2023-05-04 23:24:21 -07:00
chaosprint
a2a52717a0
cargo update lock
2023-05-04 13:34:24 +02:00
chaosprint
dfe66aa54e
Merge remote-tracking branch 'upstream/master' into support_dev_server_shared_array_buffer
2023-05-04 13:33:29 +02:00
Qichao Lan
7dba2db8d0
Delete Cargo.lock
2023-05-04 13:21:59 +02:00
chaosprint
70fc8aac0a
set headers to support sab on dev server
2023-05-04 13:21:01 +02:00
YuKun Liu
ffb43e19f0
Merge pull request #136 from arqalite/add-open-option-to-serve
...
feat: add "--open" option to `dioxus serve`
2023-05-02 09:45:17 -07:00
YuKun Liu
821bcf027d
Merge branch 'master' into add-open-option-to-serve
2023-05-02 09:45:07 -07:00
YuKun Liu
d8f76a9ebb
Update serve.md
2023-05-02 09:43:32 -07:00
YuKun Liu
3d53955f4a
Merge pull request #133 from zoechi/patch-1
...
Fix typo
2023-04-30 18:52:21 -07:00
Antonio Curavalea
f6cd48c612
feat: open browser during serve with "--open"
2023-04-30 23:13:46 +03:00
Günter Zöchbauer
bba7eaa61e
Fix typo
2023-04-24 18:22:32 +02:00
Jon Kelley
9ce5fc508d
Merge pull request #129 from Lej77/master
...
Fix formatting issue with VSCode extension
2023-04-13 14:04:42 -07:00
YuKun Liu
286d769103
Merge pull request #130 from spookyvision/patch-1
...
propagate `features` to `dioxus serve`
2023-04-07 14:08:40 -07:00
Anatol Ulrich
a590a07b3f
propagate features
to dioxus serve
...
#122 fixed `--features` for `dioxus build`, this PR adds the same for `dioxus serve`
2023-04-07 17:19:31 +02:00
Lej77
d1d0ffd912
fix off-by-one error for utf8 to utf16 pos conversion
2023-04-06 05:22:14 +02:00
Lej77
bc29cf4d28
extension specific config for formatOnSave feature
2023-04-06 02:56:38 +02:00
Lej77
44be89ff38
improve formatting with vs code extension
2023-04-06 02:34:25 +02:00
YuKun Liu
d5bda3c753
Merge pull request #127 from benschulz/proxies
...
Add proxy routes in startup_default(…)
2023-03-31 17:04:20 -07:00
Ben Schulz
2c787f85f4
Add proxy routes in startup_default(…)
2023-03-30 18:01:18 +02:00
YuKun Liu
917acf47fc
Merge pull request #122 from cosier/fix-features-switch
...
Build with --features cli argument
2023-03-25 21:56:12 -07: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
Jonathan Kelley
fdda6b9ffe
Merge branch 'master' of https://github.com/jkelleyrtp/dioxus-studio
2023-03-24 09:22:48 -07:00
Jonathan Kelley
32f70c7540
add check to autoformat
2023-03-24 09:22:43 -07:00
Bailey Cosier
24b08ab432
Build with --features cli argument
2023-03-24 22:48:38 +07:00
YuKun Liu
ba3f067ffb
Merge pull request #112 from nilsmartel/patch-1
...
Make error more illuminating
2023-03-05 11:19:38 -08:00
Jon Kelley
d1c03bcbbb
Merge pull request #114 from Nukesor/fix-deps
2023-03-02 08:15:14 -08:00
Arne Beer
b15d7d4204
chore: Bump deps and fix failing compilation
2023-03-02 14:41:55 +01:00
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
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
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