npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

nuxtron

v0.3.1

Published

⚡ Electron + Nuxt.js ⚡

Downloads

145

Readme

Build an Electron + Nuxt.js app for speed ⚡

(The screenshot above is a top page of examples/with-javascript.)

Support

| nuxtron | nuxt | | --- | --- | | v0.x | v2.x |

My Belief for Nuxtron

  1. Show a way of developing desktop apps only web knowledge
  2. Easy to use
  3. Be transparent and open to OSS developers

Otherwise Specified

  • If you need more performance with Electron, you should see these boilerplates
  • If you want to use Nuxtron as production, please take responsibility for your actions
  • But, if you have any troubles, questions or ideas, I'll support you, I promise

Usage

Install

$ npm install --global nuxtron

Create Application

To create my-app, just run the command below:

$ nuxtron init my-app

Create Application with Template

You can use examples/* apps as a template.

To create the examples/with-typescript app, run the command below:

$ nuxtron init my-app --example with-typescript

Development Mode

Run npm run dev, and nuxtron automatically launches an electron app.

{
  "scripts": {
    "dev": "nuxtron"
  }
}

Production Build

Run npm run build, and nuxtron outputs packaged bundles under the dist folder.

{
  "scripts": {
    "build": "nuxtron build"
  }
}

Build Options

To build Windows 32 bit version, run npm run build:win32 like below:

{
  "scripts": {
    "build": "nuxtron build",
    "build:all": "nuxtron build --all",
    "build:win32": "nuxtron build --win --ia32",
    "build:win64": "nuxtron build --win --x64",
    "build:mac": "nuxtron build --mac --x64",
    "build:linux": "nuxtron build --linux"
  }
}

CAUTION: To build macOS binary, your host machine must be macOS!

Build Configuration

Edit electron-builder.yml properties for custom build configuration.

appId: com.example.nuxtron
productName: My Nuxtron App
copyright: Copyright © 2019 Shiono Yoshihide
directories:
  output: dist
  buildResources: resources
files:
  - from: .
    filter:
      - package.json
      - app
publish: null

For more information, please check out electron-builder official configuration documents.

Examples

See examples folder for more information.

Or you can start the example app by nuxtron init <app-name> --example <example-dirname>.

To list all examples, just type the command below:

$ nuxtron list

examples/custom-build-options

$ nuxtron init my-app --example custom-build-options

examples/with-javascript

$ nuxtron init my-app --example with-javascript

examples/with-typescript

$ nuxtron init my-app --example with-typescript

Develop examples/*

$ git clone https://github.com/saltyshiomix/nuxtron.git
$ cd nuxtron
$ yarn
$ yarn dev <EXAMPLE-FOLDER-NAME>

Related

  • Nextron - ⚡ Electron + NEXT.js ⚡