O'Reilly logo

Bootstrap 4 Site Blueprints by Ian Whitley, David Cochran, Bass Jobsen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Running your template with Bootstrap CLI

In this chapter, you have created a build process which builds and compiles your single page template by running the gulp command. In this book, you'll use Bootstrap CLI to set up your projects.

Bootstrap CLI enables you to choose your own starter templates. These starter templates also have a Gulp (or Grunt) build chain. For instance the source code of the Bootstrap material design template can be found at https://github.com/bassjobsen/bootstrap-material-design-styleguide. Bootstrap CLI downloads the templates from GitHub and its commands call npm to run scripts.

To make your build process and template ready for Bootstrap CLI, you simply add the npm script calls to your package.json file as follows:

 "scripts": ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required