-
Notifications
You must be signed in to change notification settings - Fork 253
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can trunk serve examples? #423
Comments
I built https://github.com/kurbos/bevy-shell-template, which uses a Trunk.toml to point to a WASM launcher for Bevy. Use this as a gold standard. But Trunk (afaik) does not support |
But doing that for each example seems overkill. We just need a way to tell
trunk to use a certain example, ideally from the command line rather than
altering an index.html
…On Sat, 3 Sept 2022 at 13:06, simbleau ***@***.***> wrote:
I built https://github.com/kurbos/bevy-shell-template, which uses a
Trunk.toml to point to a WASM launcher for Bevy. Use this as a gold
standard.
—
Reply to this email directly, view it on GitHub
<#423 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAGEJCBT6E7CC6YD57UDTFTV4M5MXANCNFSM6AAAAAAQD2RJ6M>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
I totally agree. It should be a feature, but I don't have the bandwidth. If you want to add the |
Can we please get an |
Personally I think we need a cargo-example tool that can do the same for
any example in this project and all the others in rust. Would be really
helpful if it’s possible. Worst case the created example project could
contain too many dependencies.
…On Sat, 13 May 2023 at 07:43, ActuallyHappening ***@***.***> wrote:
Can we please get an --example flag?
It would greatly simplify using inbuilt rust examples for WASM targets,
rather than extracting the tests into there own seperate project
—
Reply to this email directly, view it on GitHub
<#423 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAGEJCGWO3B3RKJ62SHB77DXF4UQ7ANCNFSM6AAAAAAQD2RJ6M>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
This issue was closed because it has been stalled for 5 days with no activity. |
I've hit this a few times now. I would like to trunk serve some bevy examples that ought to work using the web. I guess https://github.com/eliotbo/bevy_shadertoy_wgsl/tree/main/examples is a canonical example. Is there a nice way of pointing trunk at an example? While I can see there's a bin I can point to using an index.html, there's no specific Cargo.toml to point to with examples...
So I thought I'd ask here to see if anyone has a good solution / workaround other than moving the example and giving it its own Cargo.toml...
The text was updated successfully, but these errors were encountered: