0.1.1 • Published 6 years ago

generator-static-website-njk v0.1.1

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

generator-static-website-njk

This package provide a starter pack for developing a static website.

Command

Run yarn global add generator-static-website-njk and yo static-website <website-name>

Stack

Instruction

Run npm run start to start a dev server. Your website will be available at http://localhost:8080

Run npm run compile to only compile your website.

Organize your pages in src/pages, write your JS in src/js, put your templates in src/templates etc...

To add your npm packages, copy them path into the task move:dependencies in the gulpfile.

Issues

When you add external files (in img, fonts), you have to restart the server so gulp can copy them.

0.1.1

6 years ago

0.1.0

6 years ago