This is an AdminLTE rewrite for PugJS template renderer.
It also works with Flask using the PyPugJS.
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
)
mv templates/layout/basepy.pug templates/layout/base.pug
pip3 install flask
pip3 install pypugjs
python3 app.py
mv templates/layout/basejs.pug templates/layout/base.pug
npm install
npm start