electron-middle-pug
v1.0.2
Published
Compile .pug file to .html as they are requested by your electron app
Maintainers
Readme
electron-middle-sass
Compile .pug files to .html as they are requested by your electron app
Learn how to write Pug at pugjs.org
This project uses electron-middle, a middleware for electron
Install
Within your project folder, run npm install electron-middle-pug
Usage
Require electron-middle-pug in your main electron project script:
require('electron-middle-pug')Now, whenever your app attempts to load a .html file, electron-middle-pug will try to find a .pug file to compile and return instead
