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

Better packaging? #55

Open
miker2049 opened this issue Aug 31, 2022 · 4 comments
Open

Better packaging? #55

miker2049 opened this issue Aug 31, 2022 · 4 comments

Comments

@miker2049
Copy link

As of right now, this implementation feels a little too oriented around building and showing the demo. I am not sure how many people use System.js, but I do think some better defaults around the module would help a lot of people. Just so one could do a typical import ImGui from "imgui-js", even import {ImGui, ImGui_Impl} from "imgui-js" out of the box.

I can certainly take this on and do a PR, (I already have a fork with the minimal changes needed to do a regular import) but just wanted to see if the library maintainers have any interest in it, because it would be some substantial, breaking changes depending on how people are using the library.

@miker2049 miker2049 changed the title Better packaging as js-module Better packaging? Aug 31, 2022
@Buffele
Copy link

Buffele commented Jan 30, 2023

Hi!

I would be interested in this fork / pull request with regular typescript support.

Could you push your modified branch or create a PR? Thanks in advance!

@naychrist
Copy link

I would love to see this. A basic example or two showing how to set a boilerplate project up using different frameworks would be great.

@flowstate247
Copy link

This is what prevents me from using imgui-js, actually.
I hope someone will make it happen soon.
It's such a shame that we are left stuck without solution.

@MiguelRipoll23
Copy link

This is such a good project that's a shame that its setup is so complicated for starters. I gave up after trying to integrate it to a TypeScript project...

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

No branches or pull requests

5 participants