The client-side JS and CSS are stored in the
client/ folder with
index.* entry points.
The homepage is stored in
home/ and the docs are stored in
.html files in the root directory are all built files.
You can see how
nlz(1) creates JS and CSS files by looking at
watch.js is a simple custom watcher for building our jade/markdown templates.
Installation and Setup
npm i -g nlz
To build the JS and CSS, run the following:
nlz build --watch
Notice how the entry points are defined within
Then to build the pages,
npm dependencies and run
npm i node watch.js