Code Monkey home page Code Monkey logo

nuxtron's Introduction

Nuxtron

The best way to create desktop applications with Nuxt and Electron

Why

  1. Develop your app in the browser with hot module replacement and Vue devtools
  2. Avoid tedious IPC communication between main and renderer processes
  3. Write minimal main process code and restart it less often
  4. Care about Electron only when you need to build and distribute your app

Features

  • ๐Ÿš€ Enjoy all the benefits of Nuxt, such as SSR, server API, code splitting and more
  • ๐Ÿ“ฆ Start with a simple template that you can customize to your needs

Try it now!

GitHub Template

Create a repo from this template on GitHub.

Clone to local

If you prefer to do it manually with the cleaner git history

npx degit ablipan/nuxtron my-nuxt-electron-app
cd my-nuxt-electron-app
pnpm install # You can use any package manager you like

Checklist

When you use this template, try follow the checklist to update your info properly

  • Change the author name in LICENSE
  • Change the name,author in package.json
  • Change the title in nuxt.config.ts
  • Change the title in electron/main/createWindow.ts
  • Change the appId,productName in electron-builder.config.cjs
  • Change the logo.svg in public
  • Clean up the READMEs

And, enjoy :)

Usage

Development

Just run and visit http://localhost:3000

pnpm dev

Build

To build the Nuxt, run

pnpm build

Then to build the Electron app, run

pnpm electron:build

Then package the app, run

pnpm electron:builder

Check the release folder for the packaged app.

nuxtron's People

Contributors

ablipan avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.