/pug-boilerplate

A rig for building flat sites with gulp and pug.

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

Pug Boilerplate

A boilerplate setup for projects using Gulp to compile Pug into HTML and Sass into CSS.

Getting Started

Note: This is a template repository. New projects using this repo as a template should be created using the "repository template" option on the Create a New Repository page.

Dependencies

  • Node & npm
  • Gulp 4

Installation

  1. If you haven't already, use nvm to install node and npm
  2. If you haven't already, globally install the gulp command line tools: npm install --global gulp-cli
  3. Clone this repo
  4. In the project folder, install the node package dependencies: npm install

Development

Run the default Gulp task (gulp or gulp default) in the project root to compile all files, watch for future changes, and start up Browsersync.