Simple Electron plugin for render EJS templates. It allow you to use
ejs files in your electron projects and you can define some layouts.
How to use it
For initialize electron-ejs-layout on your project, simply add
//In main process.var electronEjs = locals;conf =layoutViewPath: __dirname+'/views/';...//You have to define layoutFileconflayoutFile = 'layout.ejs';mainWindow;
locals is an object where each key is used as a variable in your template.
You can publish issues here https://github.com/jpcweb/electron-ejs-layout/issues
electron-ejs-layout is under the MIT license.