A simple template for a gulp config with nunjucks, typescript, and scss.
You can view it at code.jeffkmeng.com/simple-gulp-nunjucks-typescript.
This website uses gulp, nunjucks, and typescript to build and host a live development server.
Here's how to get started:
- Install node and npm if you haven't already.
- Install the dependencies in the same directory as the project:
$ npm install
. - Install the Gulp CLI:
$ npm install gulp-cli -g
(sudo
may be required on certain operating systems). - Build a minified production build with
$ gulp build
or run a live dev server (usually at localhost:3000) with$ gulp watch
.
Notes:
- Only the minified production build will be pushed.
- The code you see in the dev server will not be committed unless you build first.