Skip to content
This repository has been archived by the owner on Jun 8, 2022. It is now read-only.

Latest commit

 

History

History
28 lines (16 loc) · 1012 Bytes

README.md

File metadata and controls

28 lines (16 loc) · 1012 Bytes

Using Laravel-mix with Electron APP

This app can be used as a starting point for you if you want to build a desktop app using electron. It is backed with:

  1. Laravel-mix
  2. Vuejs
  3. Electron build

By default it will skip signing your mac application.

Compile your code:

You can simply compile your code by running yarn start which will compile and start your electron app.

Compiling your code will run laravel-mix commands and produce the required files at the app directory.

Build your app

You can run the command yarn run build-it which will compile your code and run the build process for you.

NOTES:

  1. This is still a work in progress which means you may face some problems, it would be nice to share it with us.
  2. We only tested the code on Mac, so we are not sure if it will fully work on windows or linux.
  3. We use Yarn instead of npm but feel free to delete yarn.lock and use npm.