Next.js Discord

Discord Forum

NextJS with Electron?

Unanswered
Saltwater Crocodile posted this in #help-forum
Open in Discord
Saltwater CrocodileOP
Is it possible to build such application? if so how can it be made? do i just install Nextjs with createnextapp and then install electron?

9 Replies

Mugger Crocodile
also interested in this.
Spot-billed Duck
also interested in this ! up!!
@Saltwater Crocodile yes it is you can use a tool like electron and link it to your dev server that will wor
your code is loading the dev server id instead of a file
@import_cubedev <@466650807996252162> yes it is you can use a tool like electron and link it to your dev server that will wor
Spot-billed Duck
is it a good idea tho?

like, using nextjs is cool, but if you want a local electronapp for example, just using react should be ok no?
it will be a good idea with vite or webpack but i still think that it may not be that smart all you get is a giant memory eater desktop app as
it runs the two things the server and electron
so i reccomend you to use a light framework like vite with react that wont be a big app