/AdminLTE-for-PugJS

This is an AdminLTE rewrite for PugJS template renderer. Works with Flask too

Primary LanguageCSSMIT LicenseMIT

AdminLTE for PugJS

This is an AdminLTE rewrite for PugJS template renderer.

It also works with Flask using the PyPugJS.

AdminLTE

Warning

There is a difference between PyPugJS and PugJS on how Pug files in subdirectories are handled. You need to rename ether basepy.pug or basejs.pug to base.pug before use (located in templates/layout/baseXX.pug)

Python3

mv templates/layout/basepy.pug templates/layout/base.pug
pip3 install flask
pip3 install pypugjs
python3 app.py

NodeJS

mv templates/layout/basejs.pug templates/layout/base.pug
npm install
npm start