introduction
This post has been transferred to my blog. You can read the latest version here:
How to create an electron-forge project...
For further actions, you may consider blocking this person and/or reporting abuse
Thanks for the setup walkthrough. As I followed your steps, I encountered error when adding line:
import App from './App';
and the error was :
Unable to resolve path to module './App' .(import/no-unresolved).
After some digging and googling I found the solution here: stackoverflow.com/questions/598258...
adding :
'settings': {
'import/resolver': {
'typescript': {},
},
},
to .eslintrc.json worked.
Thank you so much, this is very helpful!
However, do you have any idea how to use images and static assets (like fonts) in the app? Trying to import them just doesn't work, and I can't seem to get copy-webpack-plugin to work either.
Very helpful! I have not been able to get hot reloading to work, however. You say to use .babelrc, but in my hands the webpack-typescript template uses 'ts-loader' not 'babel-loader' by default. Even after changing the loader, however, I have not been able to get this to work.
that was nice walkthrough
Tks !!!!
Thanks for the walkthrough.
At the step with the entryPoints, it is not in the package.json - it is in the forge.config.ts
Very helpful! Many thanks.
This was a helpful walkthrough, many thanks
Thanks for the tutorial!
Excellent! Thanks
Thank you working fine
Works great, ty