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 a workflow for github page and wasm compatible example #8

Closed
wants to merge 5 commits into from

Conversation

TheRustyPickle
Copy link
Contributor

@TheRustyPickle TheRustyPickle commented Dec 31, 2024

Hello @PPakalns! I’ve updated the example to work with WASM and added a workflow that deploys a GitHub Page for the example UI. Once it’s merged, you can set it up by going to the repository settings => Pages => and selecting the gh-pages branch. This will create a page like this: https://therustypickle.github.io/egui_taffy/

Please let me know if there’s anything you’d like me to adjust or if this isn’t something you are interested in. Thanks!

@PPakalns
Copy link
Owner

PPakalns commented Jan 1, 2025

Great idea! This is useful.

Did you use some kind of example/template for these changes. Can you share link to it?

Will take some time to review this as I want to make sure that everything is correct.

@TheRustyPickle
Copy link
Contributor Author

I did something similar for two other projects of mine, I mostly copied from there. Originally the index.html, wasm code is from the repo here:

https://github.com/emilk/eframe_template

PPakalns pushed a commit that referenced this pull request Jan 11, 2025
@PPakalns
Copy link
Owner

Squashed and resolved merge conflicts in
ef83a90

After that did some reorganization to minimize exposure to web demo related code to single subdirectory.

Thank you for this PR. 💯

@PPakalns PPakalns closed this Jan 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants