Skip to content

Commit

Permalink
chore(readme): added bs4 cdn instructions (#1784)
Browse files Browse the repository at this point in the history
* Include CDN instructions for Bootstrap 4

* chore(readme): added bs4 cdn instructions
  • Loading branch information
dgtlmoon authored and valorkin committed Mar 24, 2017
1 parent 53853a6 commit 3264308
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,27 @@ Install `ng2-bootstrap` from `npm`
npm install ng2-bootstrap --save
```

You will need bootstrap styles
You will need bootstrap styles (Bootstrap 3)

```
<!-- index.html -->
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
```

Or Bootstrap 4
```
<!--- index.html -->
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css" rel="stylesheet">
```
Hot to enable bootstrap 4 theme templates in ng2-bootstrap, please read
[here](https://github.com/valor-software/ng2-bootstrap/blob/development/docs/getting-started/bootstrap4.md)

```
<!-- index.html -->
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
```


## How to use it with:
- `angular-cli` please refer to [getting-started-with-ng-cli](https://github.com/valor-software/ng2-bootstrap/tree/development/docs/getting-started/ng-cli.md)
- `angular-seed` please refer to [getting-started-with-angular-seed](https://github.com/valor-software/ng2-bootstrap/tree/development/docs/getting-started/angular-seed.md)
Expand Down

0 comments on commit 3264308

Please sign in to comment.