Skip to content

Commit de9c666

Browse files
Update README to guide how to import in node_modules
1 parent 7e5f9b9 commit de9c666

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

Readme.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,26 @@ A simple and lightweight CSS Framework built with Sass for building responsive w
66

77
## Usage
88

9+
### Import in Browser
10+
911
- [Download the stylesheet](https://completejavascript.github.io/shiba-css/css/shiba.min.css) or use the CDN URL: [https://unpkg.com/shiba-css@1.0.0/docs/css/shiba.min.css](https://unpkg.com/shiba-css@1.0.0/docs/css/shiba.min.css).
1012

1113
- Save the stylesheet and link to it in the head of your project.
1214

15+
### Import in Node Modules
16+
17+
- Install:
18+
19+
```bash
20+
yarn add shiba-css # npm i shiba-css
21+
```
22+
23+
- Import:
24+
25+
```js
26+
import "shiba-css/docs/css/shiba.min.css";
27+
```
28+
1329
## Modification
1430

1531
Shiba.CSS is written by Sass. So you can easily modify it with your own style. Firstly, clone the repo:

0 commit comments

Comments
 (0)