- for ngRouter to work links must be in the form
<li><a ng-href="#!/about">About</a></li>
- make a symlink from
app/bower_components
to./bower_components
(done as Grunt task) - use https://github.com/jaime-ez/elemon.git for livereload
- trick to load modules in index.html (http://stackoverflow.com/questions/32621988/electron-jquery-is-not-defined)
- add electron as devDependencies, copy package.json and node_modules into dist folder (done as grunt task) and there call electron-packager
- package.json must include every module called from main.js (whether used for dev purposes or not) and must include the field main pointing to the main entry file for electron (main.js)
Last active
February 21, 2017 13:36
-
-
Save jaime-ez/3ff416eabc02fa9e03607dc99f824aa6 to your computer and use it in GitHub Desktop.
building electron apps based on yeoman generator-angular
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment