This is a minimal drupal theme to integrate Bootstrap 4 in Drupal 8.
- Settings free! (if you want to load bootstrap differently, just edit the template).
- Minimal dependencies (only bootstrap and sass)
- Works out of the box
- Simple.
-
Download the theme and add it in your Drupal themes folder.
-
Install dependencies (from inside the theme folder -> yoursite/themes/bootstrap4/)
npm install
- Build the theme (from inside the theme folder -> yoursite/themes/bootstrap4/):
npm run build
- Activate the theme in Drupal
You can read the package.json file to see a list of command, but really you certainly ony need npm run watch
.
To customize style and bootstrap edit the file in scss/styles.scss
Pull request welcome. But do not lose time building anythings complexe. It's just a theme.