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
Evan Almloff
9261e4d5e9
fix diffing
2022-12-20 15:07:35 -06:00
Evan Almloff
fb7c55f9bd
match the render macro as well
2022-12-20 14:32:04 -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
90be4a19a3
erge branch 'master' of https://github.com/jkelleyrtp/dioxus-studio
2022-12-11 12:54:22 -08:00
Jonathan Kelley
7d49f71cd5
fix: disable hotreloaidng stuff
2022-12-11 12:54:17 -08:00
Jon Kelley
62bc72e3d2
Merge pull request #83 from mrxiaozhuox/master
...
Fixed docs workflow
2022-12-11 04:29:11 -08:00
Jonathan Kelley
aa05dc3054
fix: builds of CLI
2022-12-07 12:55:28 -08:00
YuKun Liu
c44777003b
fix: some warning
2022-11-30 09:31:42 -08:00
Jonathan Kelley
7a6b58d793
wip: more tweaks
2022-11-14 18:09:09 -08:00
YuKun Liu
24249a7ff1
feet: merged
2022-11-03 00:31:50 -07:00
YuKun Liu
bbc9e1b3a2
feat: default plugin info
2022-11-03 00:30:47 -07:00
YuKun Liu
ad1ed6cfb5
Merge branch 'master' into master
2022-11-03 00:21:31 -07:00
Evan Almloff
16935bded1
create out_dir if it doesn't exist on serve
2022-10-30 21:07:05 -05:00
MeiHui FAN
029c0b23f4
eliminate duplicate absolute path join
2022-10-24 19:58:22 +08:00
MeiHui FAN
c2c4989483
Why clean up the 'dist' directory when building for desktop?
...
This can affect things like extra side generating css files.
2022-10-24 19:48:26 +08:00
YuKun Liu
39e38917d6
feat: add api function
2022-10-12 16:37:26 -07:00
YuKun Liu
0fe8e4bcbd
fix: plugin init problem
2022-10-12 11:47:05 -07:00
YuKun Liu
96ebe74d12
feat: custom plugin config support
2022-10-10 22:49:52 -07:00
YuKun Liu
e1497acef4
feat: types
2022-10-10 22:38:30 -07:00
YuKun Liu
cf9a9513df
feat: commit code
2022-10-08 21:28:06 -07:00