admin管理员组文章数量:1277524
I'm using electron with react js and next. I can't find how to make it's production build. Can anyone help me in this with all steps. My project structure is :
- app
- node_modules
- pages
- routes
- static
- package.json
- main.js (entry points for electron)
next.config.js
My folder structure doesn't include any renderer folder.
I'm using electron with react js and next. I can't find how to make it's production build. Can anyone help me in this with all steps. My project structure is :
- app
- node_modules
- pages
- routes
- static
- package.json
- main.js (entry points for electron)
next.config.js
My folder structure doesn't include any renderer folder.
1 Answer
Reset to default 11There are two examples in the official Next.js repo here for JavaScript and TypeScript: https://github./vercel/next.js/tree/canary/examples/with-electron https://github./vercel/next.js/tree/canary/examples/with-electron-typescript
They have a good file/folder structure which you can use to start your project with!
本文标签: javascriptHow to make production build for electronreact jsnextStack Overflow
版权声明:本文标题:javascript - How to make production build for electron + react js + next - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741285985a2370271.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论