@shuvi/electron-cli

Enable electron support for shuvi.

Usage no npm install needed!

<script type="module">
  import shuviElectronCli from 'https://cdn.skypack.dev/@shuvi/electron-cli';
</script>

README

@shuvi/electron-cli

Enable electron support for shuvi.

How to use

  1. Install the package.
    yarn add -D @shuvi/electron-cli
    
  2. Runt the start command.
     shuvi-electron start
    

CLI Options

  • start - start the electron in development mode

     Flags:
      --host  hostname
      --port  port
    
  • build - bundle project in production mode.

     Env:
      OUTPUT_PATH    path to output path. (optional)
      PUBLIC_PATH    webpack public path. (optional)