Building a UI with Bootstrap 4
Bootstrap (http://getbootstrap.com) is popular and very useful. It changes the way of building UIs for web applications. As you will see when we implement the UI, Bootstrap can boost our productivity by providing features that cover most parts of UI development. It is highly customizable, allowing us to create different themes. In this section, we will learn how to import Bootstrap into a Vue application and use it to build the register page. We will also change webpack's configuration to keep the styles of Bootstrap in a separate .css
file.
Install and use Bootstrap
First of all, let's install Bootstrap and its dependencies into our frontend
directory by running the following command:
npm install jquery popper.js bootstrap --save
Once it is installed, we will need to import Bootstrap's compiled CSS into our application. There are many ways to import Bootstrap using webpack. The approach we will use here is to create a new entry in webpack to group all of the third...