Skip to content

Front-end static site generation powered by Gulp, Sass, and Nunjucks.

Notifications You must be signed in to change notification settings

josephdburdick/clean-frontend

Repository files navigation

Clean front-end

Static front-end development workflow featuring Gulp, ES6, Sass, and Nunjucks templates. The intention is to precompile written templates of components, inject them with data, and generate corresponding pages.

Prerequisites

  1. Install Node.js
  2. Install Bower npm i bower -g
  3. Install Yarn npm i yarn -g

Installation

  1. run yarn in project root to install Node dependencies
  2. run bower install in project root to install Bower dependencies

Usage

  1. run npm start or gulp serve to watch changes in app (changes to app/data needs a whole restart)
  2. run npm run build to build static assets in dist directory
  3. run gulp wiredep if ever adding bower dependencies, it'll update the _layout partial
  4. run npm run build; npm run deploy to deploy generated static pages to Github repository's gh-pages branch

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

About

Front-end static site generation powered by Gulp, Sass, and Nunjucks.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published