1.0.2 • Published 6 years ago

electron-middle-pug v1.0.2

Weekly downloads
1
License
ISC
Repository
github
Last release
6 years ago

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