Today zeit released Next.js v8, so Nextron came to v4 :)
https://nextjs.org/blog/next-8
What is Nextron?
Nextron is an electron app generator, which includes Next.js and it can handle electron renderer process with Next.js easily.
# install nextron
$ npm install --global nextron@latest
There are 13 example templates for now:
# list all templates
$ nextron list
Available examples:
- custom-build-options
- custom-server
- custom-server-nodemon
- custom-server-typescript
- ipc-communication
- parameterized-routing
- store-data
- with-javascript
- with-javascript-ant-design
- with-javascript-material-ui
- with-typescript
- with-typescript-less
- with-typescript-material-ui
USAGE
$ nextron init my-app [--template example_folder_name]
If you want to use "with-typescript-material-ui", just type the command below:
$ nextron init my-app --template with-typescript-material-ui
The usage is so simple:
# generate an example
$ nextron init my-app --template with-typescript-material-ui
# install dependencies
$ cd my-app
$ yarn (or "npm install")
# development mode
$ yarn dev (or "npm run dev")
# production build
$ yarn build (or "npm run build")
My Belief for Nextron
- Show a way of developing desktop apps only web knowledge
- always maintenanced π
- Easy to use
- run it one command
- build it one command
- Be transparent (Open to OSS developers)
- shows all sources like
webpack.config.js
, electron production build configs and so on
- shows all sources like
Nextron's statuses
- 650+ commits over the last 9 months
- 200+ releases (
npm publish
) - 100+ stargazers on GitHub
- listed on awesome-nextjs
- PRs are welcome!
By the way...
I'm working in Tokyo(Japan) and developing .NET or JavaScript(TypeScript) apps which use AI(neural network) translation machine.
Our mission is to help all people who study foreign languages.
Anyone want to join us?
Thank you for your reading my article :)
Top comments (4)
Awesome project! This is EXACTLY what I was looking for!!
One question, how can I modify the value of process.env.NODE_ENV? Where should I place the .env file?
Thanks for this article. How can I change the app icon?
How to publish a nextron app?
Hi... That's cool... Where can I try your product? I would like to improve my hungarian!