-
-
Notifications
You must be signed in to change notification settings - Fork 109
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
Q: Compatibility with typescript #1495
Comments
@basz I use TypeScript for the Ember side, but not the Electron side. |
yeah. now i know why... pita... anyway a bit further added this to the root tsconfig.json
App compiles, and starts. I see a window with
Soo it loads the main entry point. Feel like I am really close... |
Yes. I now have the template typescript app running as an ember-electron application! Runs as trick was to use __dirname inside the forge.config.ts
|
@basz this is awesome! I've long wanted to figure out how to start writing main process code in typescript. Thanks so much for pioneering! Would you be willing to write up some documentation, like a little how-to or something? I'm happy to support in any way. |
Yes! Ping me if I forget |
not sure if that setup is complete. Although it runs with typescript it is also webpack'ed. That is a whole new beast to configure. The "old" method of loading |
@bendemboski any thoughts? |
Sorry, I don't really, I haven't had a chance to dig into this at all |
for any one that needs a starting point. https://github.com/basz/ember-electron-app/ |
@basz is this something you could write up in our official documentation perhaps? |
Ai. That's been while. Not sure if I can afford the time to dig back into the intricacies. Sorry. |
Hi,
I have an working application that I want to convert to typescript.
Looking at https://github.com/electron/forge there is a typescript template that indeed runs when being a stand alone electron app.
However in ember-electron this does not seem to work... I think becuase ember-electron run forge via its 'api' and therefore uses ts config from the enclosing ember app.
This works
But this will fail;
Is this even possible? Perhaps any example repositories?
The text was updated successfully, but these errors were encountered: