- Bootstrap 4 Cookbook
- Ajdin Imsirovic
- 88字
- 2021-07-02 21:08:00
How to do it...
- Install bower using npm:
npm install -g bower
- Verify the bower installation:
which bower && bower -v
Note that both commands should return some values.
- Install Bootstrap 4 alpha 6:
bower install bootstrap#v4.0.0-alpha.6
- Navigate to the bootstrap folder:
cd && cd workspace/bower_components/bootstrap
- Run npm install to install all the dependencies:
npm install
Note that this will take a while.
- Run grunt verbose:
grunt -v
Now, you can easily reference the dist folder with the necessary styles and scripts for your Bootstrap website to work.