Bolt is a simple project boilerplate that prioritizes performance, accessibility, and progressive enhancement.
- Robust task-automation powered by Gulp
- Powerful HTML templating via Nunjucks
- Fast CSS pre-processing via LibSass
- Feature-rich SVG workflow via Gulp-SVG-Sprite
- Critical CSS feature via Critical
Clone the git repo — git clone https://github.com/jmy1138/bolt.git
- In bash/terminal/command line,
cd
into your project directory. - Run
npm install
to install required files. - When it's done installing, run one of the task runners to get going:
gulp
manually compiles files.gulp watch
automatically compiles files and applies changes using BrowserSync.gulp build
compiles files into 'dist' directory.gulp critical
processes html files in 'dist' directory and replaces them with files that include inline CSS to render above-the-fold content quickly, the asynchronously loads the full CSS file.
Make sure these are installed first.
The code is available under the MIT license.