This is the boilerplate for use with Foundation for Sites and based on official Foundation ZURB Template. It has a Gulp-powered build system with these features:
- HTML templates with Pug
- Sass compilation and prefixing
- JavaScript module bundling with webpack
- Built-in BrowserSync server
- For production builds:
- CSS compression
- JavaScript compression
- Image compression
- Install Node 7.2.1 or greater.
- Clone the project.
- HTTP:
git clone git@github.com:sdcorp/foundation-boilerplate.git
- SSH:
git@github.com:sdcorp/foundation-boilerplate.git
- HTTP:
# Install the dependencies with yarn
$ yarn
or
# Install the dependencies with npm
$ npm install
For development:
$ npm run dev
Your finished site will be created in a folder called dist
, viewable at this URL: http://localhost:8000
For production release:
$ npm run build