Skip to content

Latest commit

 

History

History
38 lines (28 loc) · 851 Bytes

File metadata and controls

38 lines (28 loc) · 851 Bytes

P3E

P3E is a starter kit to start an electron project with Polymer 3

Install

Npm is required to install the project, once the repository has been cloned run:

npm install

Run

npm start

Run Test

npm run test

Build Electron Bundle

To bundle the application you first need to modify the app/config/config.json file to set the env to prod, then the application MUST BE built with polymer-cli, run this command:

npm run build-polymer

Once the build process has finished, the build folder will be created, then the application can be packaged with the following command:

npm run dist

you can also run the pre build bundle:

npm run start-pre-build