Skip to content

ragingwind/electron-psk-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

electron-psk-boilerplate

Boilerplate to kickstart creating an app with Electron and Polymer Starter Kit

Getting started

In your directory, run:

$ curl -fsSL https://github.com/ragingwind/electron-psk-boilerplate/archive/master.tar.gz | tar -xz --strip-components 2

You can also git clone or download this repo and get contents of the boilerplate folder.

Yet There's also a Yeoman generator.

Patch for running route properly

For v1.1.1

You should add the following code to src/app/elements/routing.html. See the doc for further information.

page('*', function() {
  page.redirect('/');
});

For v1.2.1

You probably see the notification about route failed that could be annoyed but you could ignore it as update by code below in commenting toast code.

// 404
page('*', function() {
  // app.$.toast.text = 'Can\'t find: ' + window.location.href  + '. Redirected you to Home Page';
  // app.$.toast.show();
  page.redirect(app.baseUrl);
});

License

MIT © ragingwind

About

Boilerplate to kickstart creating an app with [Electron](https://github.com/atom/electron) and [Polymer Starter Kit](https://github.com/PolymerElements/polymer-starter-kit)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published