Book Image

Bootstrap 4 Site Blueprints - Second Edition

By : Ian Whitney, David Cochran
Book Image

Bootstrap 4 Site Blueprints - Second Edition

By: Ian Whitney, David Cochran

Overview of this book

Packed with trade secrets, this second edition is your one-stop solution to creating websites that will provide the best experience for your users. We cover six popular, real-world examples, where each project teaches you about the various functionalities of Bootstrap 4 and their implementation. The book starts off by getting you up and running with the new features of Bootstrap 4 before gradually moving on to customizing your blog with Bootstrap and SASS, building a portfolio site, and turning it into a WordPress theme. In the process, you will learn to recompile Bootstrap files using SASS, design a user interface, and integrate JavaScript plugins. Towards the end of the book, you will also be introduced to integrating Bootstrap 4 with popular application frameworks such as Angular 2, Ruby on Rails, and React.
Table of Contents (15 chapters)
Bootstrap 4 Site Blueprints
Credits
About the Authors
About the Reviewer
www.PacktPub.com
Preface

The Yeoman workflow


Yeoman helps you to kickstart new projects, and you can use it as an alternative for Bootstrap CLI.

The Yeoman workflow comprises three types of tools for improving your productivity and satisfaction when building a web app: the scaffolding tool (yo), the build tool (Grunt, Gulp, and so on), and the package manager (like Bower and npm).

A Yeoman generator that scaffolds out a front-end Bootstrap 4 web app is available at https://github.com/bassjobsen/generator-bootstrap4. You can install it after installing Yeoman by running the following commands in your console:

  • Install: npm install -g generator-bootstrap4

  • Run: yo bootstrap4

  • Run grunt for building and grunt serve for preview

The Yeoman generator for Bootstrap enables you to install your code with flexbox support. The generator can also install the Font Awesome and / or the Octicons icons fonts for direct usage in your app: