Jon Kelley
7ca541906c
Merge pull request #150 from Erithax/master
...
fix chosing launch target
2023-06-28 16:52:57 -07:00
Jon Kelley
a967c414e7
Merge pull request #145 from timokoesters/fixserve
...
Ignore base_path changes for serve
2023-06-28 16:52:31 -07:00
Jon Kelley
571ff5fedf
Merge pull request #148 from DogeDark/fix-formatting-single-file
...
Fix formatting a single file with --file flag
2023-06-28 16:52:20 -07:00
erithax
ae80702ed9
fix chosing launch target
...
it used to match in order:
* first binary alphabetically
* library
now matches in order:
1. default-run binary
2. binary with name of crate or located at src/main.rs
3. first binary alphabetically
4. library
2023-06-16 17:58:38 +02:00
David James
741098e893
Fix typo: "NetWork" -> "Network"
...
"W" -> "w". In ASCII, that is +32 :)
2023-06-10 22:45:44 -04:00
Miles Murgaw
8cf6f60e93
fix: change error println to eprintln
2023-06-04 12:49:22 -04:00
Miles Murgaw
e8d011b476
revision: fmt
2023-06-04 12:48:28 -04:00
Miles Murgaw
c398372785
fix: formatting a single file with --file
2023-06-04 12:44:43 -04:00
Timo Kösters
808da6e07f
fix: disable base_path changes for serve
2023-06-02 07:35:03 +02:00
YuKun Liu
aa1a45a14e
fix: format code
2023-05-23 13:47:18 -07:00
YuKun Liu
719015378b
fix: un-wrap Result for init_plugin_dir
2023-05-23 13:45:45 -07:00
Ell
3b1eec2ed2
Merge branch 'DioxusLabs:master' into make-clone-repo-err-clear
2023-05-13 12:18:57 +05:00
YuKun Liu
b196affb02
fix: changed flag name to cross-origin-policy
2023-05-06 19:37:36 -07:00
Qichao Lan
4f95a0ba6b
Merge branch 'master' into shared_array_buffer_as_optional_config
2023-05-06 08:18:29 +02:00
chaosprint
257465a6d5
add shared array buffer support for dev server as opt config
2023-05-06 08:13:28 +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
chaosprint
70fc8aac0a
set headers to support sab on dev server
2023-05-04 13:21:01 +02:00
Antonio Curavalea
f6cd48c612
feat: open browser during serve with "--open"
2023-04-30 23:13:46 +03:00
Ell
9f238fa464
Minor improvments.
2023-04-24 20:34:17 +05:00
Ell
60eb453aad
Made clone_repo error clear.
2023-04-24 15:40:00 +05: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
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
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
Evan Almloff
c5bf525547
fix reloading non rust files when hot reloading is enabled
2023-03-01 09:09:30 -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
bfbda510fe
log errors instead of panicing on io errors
2023-02-22 09:09:00 -06: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
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
e38092fc44
fixed cargo create bug
2023-01-19 11:35:25 -05:00
Jonathan Kelley
e1705a2920
Merge branch 'master' into jk/autofmt-project
2023-01-12 15:43:23 -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
dxps
bb9b95fbd1
chore: typos
2023-01-06 17:13:08 +02: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
Jonathan Kelley
230c83c35b
fix: merge errors
2022-12-25 23:39:28 -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
dxps
3209dd330b
fix( #60 ): handling default cfg & kebab_case name
...
closes #60
2022-12-25 16:54:09 +02:00
Evan Almloff
33e3f9c360
move hot reloading utilities to dioxus repository
2022-12-23 15:42:14 -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