Skip to content
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

Add way to write out default index.html #224

Open
TimJentzsch opened this issue Jan 12, 2025 · 1 comment
Open

Add way to write out default index.html #224

TimJentzsch opened this issue Jan 12, 2025 · 1 comment
Labels
A-CLI Related to the main CLI and not a more specific subcommand A-Web Building or running Bevy apps targeting the browser C-Feature Make something new possible D-Straightforward Simple bug fixes and API improvements, docs, test and examples S-Needs-Design This issue requires design work to think about how it would best be accomplished

Comments

@TimJentzsch
Copy link
Collaborator

Currently it's only possible see the contents of the default index.html via bevy build web --bundle, but it's not that discoverable and also requires you to build the entire app.

Instead, we could do something similar as rustfmt, like rustfmt --print-config default rustfmt.toml.

@TimJentzsch TimJentzsch added A-CLI Related to the main CLI and not a more specific subcommand C-Feature Make something new possible A-Web Building or running Bevy apps targeting the browser D-Straightforward Simple bug fixes and API improvements, docs, test and examples S-Needs-Design This issue requires design work to think about how it would best be accomplished labels Jan 12, 2025
@TimJentzsch
Copy link
Collaborator Author

Maybe this could be part of a bevy setup command, e.g. bevy setup web-assets, which would create a web folder with the default web assets to allow the user to customize them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-CLI Related to the main CLI and not a more specific subcommand A-Web Building or running Bevy apps targeting the browser C-Feature Make something new possible D-Straightforward Simple bug fixes and API improvements, docs, test and examples S-Needs-Design This issue requires design work to think about how it would best be accomplished
Projects
None yet
Development

No branches or pull requests

1 participant