electron-vue3-ts-quick-start
electron-vue3-ts-quick-start copied to clipboard
how can use main js by typescript?
how can use main js by typescript?
Sorry for the late response but the reason is because electron reloader is used to reload the app when changes happen and from the electron-reloader project's README:
Note that it will not work correctly if you transpile the main process JS files of your app, but it doesn't make sense to do that anyway.
If you still believe this would be useful I can see if other's feel the same and add it but some functionality will be lost doing so.
Sorry for the late response but the reason is because electron reloader is used to reload the app when changes happen and from the electron-reloader project's README:
Note that it will not work correctly if you transpile the main process JS files of your app, but it doesn't make sense to do that anyway.
If you still believe this would be useful I can see if other's feel the same and add it but some functionality will be lost doing so.
Why not? Webpack official site is support typescript: https://www.electronjs.org/blog/typescript#usage
Sorry for the late response but the reason is because electron reloader is used to reload the app when changes happen and from the electron-reloader project's README:
Note that it will not work correctly if you transpile the main process JS files of your app, but it doesn't make sense to do that anyway.
If you still believe this would be useful I can see if other's feel the same and add it but some functionality will be lost doing so.
Why not? Webpack official site is support typescript: https://www.electronjs.org/blog/typescript#usage
I had followed the electron-reloader issues, just FYI: https://github.com/sindresorhus/electron-reloader/issues/15#issuecomment-707181176