bootstrap-nucleus
Version:
Bootstrap Nucleus - the essential core of Bootstrap v4.
83 lines (56 loc) • 1.98 kB
Markdown
<p align="center">
<a href="https://github.com/splode/bootstrap-nucleus">
<img src="https://raw.githubusercontent.com/Splode/bootstrap-nucleus/master/bootstrap-nucleus.png" width=125px height=125px>
</a>
</p>
# Bootstrap Nucleus
> Bootstrap Nucleus - the essential core of Bootstrap v4.
## Installation
### npm
```bash
npm install bootstrap-nucleus
```
```javascript
require('bootstrap-nucleus')
```
### Direct Download
See [https://github.com/Splode/bootstrap-nucleus/blob/master/dist/bootstrap-nucleus.min.css](https://github.com/Splode/bootstrap-nucleus/blob/master/dist/bootstrap-nucleus.min.css)
#### CSS
```scss
@import 'bootstrap-nucleus.min.css';
```
#### HTML
```html
<link href="bootstrap-nucleus.min.css" rel="stylesheet" type="text/css">
```
## Usage
Bootstrap Nucleus includes the essential core of Bootstrap v4 without the fluff.
Core includes:
- CSS Reboot
- Bootstrap Grid
- Bootstrap Utilities
Use Bootstrap Nucleus the same way that you would use Bootstrap v4.
```html
<main class="container">
<section class="row d-flex">
<article class="col-md-8">
...
</article>
<aside class="col-md-4 p-3">
...
</aside>
</section>
</main>
```
### Custom Build
Use the following to rebuild project assets:
```bash
npm run build
```
Use the following to bundle and minify distribution files:
```bash
npm run dist
```
## Why Nucleus?
The Bootstrap framework is an excellent tool for prototyping. In production, however, I find myself overwriting the majority of the Bootstrap component styles and retaining only the core framework components, such as the grid.
Instead of including the entire Bootstrap framework for projects, Bootstrap Nucleus allows a project to retain the essential Bootstrap components while shedding the fluff. At 48 KB minified, Bootstrap Nucleus is less than half the size of Bootstrap's CSS framework.