Skip to content

Commit e5c4954

Browse files
GHEMID-MohamedMartinWeb
authored andcommitted
docs: add sass and bootstrap setup in the documentation
1 parent 4b1cae6 commit e5c4954

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

+14
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,20 @@ You can easily build a new app from scratch or integrate some components into an
3030

3131
## Getting Started
3232

33+
Make you sure that [sass](https://www.npmjs.com/package/sass) and [bootstrap](https://www.npmjs.com/package/bootstrap) modules are installed :
34+
35+
```sh
36+
npm install -D sass
37+
npm install [email protected]
38+
```
39+
40+
After installing bootstrap, add these css imports in the root file of your components tree :
41+
42+
```js
43+
import 'bootstrap/scss/bootstrap-grid.scss';
44+
import 'bootstrap/scss/bootstrap-reboot.scss';
45+
```
46+
3347
You can either install everything and use only what you need. If you do that you will be able to use tree shaking to have a smaller bundle.
3448
However, you will need to import all the styles and not only the style related to your component.
3549

0 commit comments

Comments
 (0)