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
Arne Beer
b15d7d4204
chore: Bump deps and fix failing compilation
2023-03-02 14:41:55 +01: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
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
Koji AGAWA
32ea636bc7
fix: rebuild hangs on windows
2023-02-11 22:40:48 +09:00
mgbvox
eb91d779cf
started tests; some minor build optimization
2023-01-19 10:18:36 -05: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
Jonathan Kelley
6684e17024
commit lockfile
2023-01-12 15:42:18 -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
98aa80d0c7
chore: commit cargo lock
2022-12-25 23:38:42 -05:00
Evan Almloff
3cc52f432a
Merge branch 'fix-hot-reloading' of https://github.com/Demonthos/cli into fix-hot-reloading
2022-12-23 15:42:24 -06:00
Evan Almloff
33e3f9c360
move hot reloading utilities to dioxus repository
2022-12-23 15:42:14 -06:00
Evan Almloff
49a0400d95
don't use local dependencies
2022-12-22 19:36:25 -06:00
Evan Almloff
9261e4d5e9
fix diffing
2022-12-20 15:07:35 -06:00
Evan Almloff
690aad7912
Merge branch 'fix-hot-reloading' of https://github.com/Demonthos/cli into fix-hot-reloading
2022-12-20 14:32:47 -06:00
Evan Almloff
fb7c55f9bd
match the render macro as well
2022-12-20 14:32:04 -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
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
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
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
mrxiaozhuox
d9891d9f0c
feat: commit build
field
2022-08-18 15:54:42 -07:00
trevyn
9364119734
Update Cargo.lock
2022-08-15 07:37:51 -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
98134cfe1c
feat: commit Cargo.lock
2022-07-09 10:09:44 +08:00