mirror of
https://github.com/primer/css.git
synced 2024-11-28 22:01:43 +03:00
Merge pull request #516 from 9585999/patch-1
Fix modules/primer-product/README.md
This commit is contained in:
commit
5b43ccd880
@ -12,7 +12,7 @@ This repository is a compilation of [several CSS packages](https://github.com/pr
|
||||
This repository is distributed with [npm][npm]. After [installing npm][install-npm], you can install `primer` with this command. **You must have npm >=3.0 installed to be able to satisfy the dependency paths**
|
||||
|
||||
```
|
||||
$ npm install --save primer-core
|
||||
$ npm install --save primer-product
|
||||
```
|
||||
|
||||
## Usage
|
||||
@ -20,7 +20,7 @@ $ npm install --save primer-core
|
||||
The source files included are written in [Sass][sass] (`scss`) You can simply point your sass `include-path` at your `node_modules` directory and import it like this.
|
||||
|
||||
```scss
|
||||
@import "primer-core/index.scss";
|
||||
@import "primer-product/index.scss";
|
||||
```
|
||||
|
||||
You can also import specific portions of the module by importing those partials from the `/lib/` folder. _Make sure you import any requirements along with the modules._
|
||||
|
Loading…
Reference in New Issue
Block a user