Skip to content

Commit

Permalink
feat(docs): UID-20 - updated getting-started doc (#108)
Browse files Browse the repository at this point in the history
* updated getting-started, added mosaic-icons and moment-adapter to installation instructions
* messageformat package added
  • Loading branch information
artem-vasilev authored and pimenovoleg committed Apr 15, 2019
1 parent f7a0aa0 commit f3b0440
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@

#### NPM
```bash
npm install --save @ptsecurity/mosaic @ptsecurity/cdk
npm install --save @ptsecurity/mosaic @ptsecurity/cdk @ptsecurity/mosaic-icons @ptsecurity/mosaic-moment-adapter moment messageformat
```

#### Yarn
```bash
yarn add @ptsecurity/mosaic @ptsecurity/cdk
yarn add @ptsecurity/mosaic @ptsecurity/cdk @ptsecurity/mosaic-icons @ptsecurity/mosaic-moment-adapter moment messageformat
```

#### Snapshots builds
Expand Down Expand Up @@ -71,4 +71,10 @@ Including a theme is **required** to apply all of the core and theme styles to y

```css
@import "~@ptsecurity/mosaic/prebuilt-themes/default-theme.css";
```

You should include mosaic-icons in order to use icons classes

```css
@import "~@ptsecurity/mosaic-icons/dist/styles/mc-icons.css";
```

0 comments on commit f3b0440

Please sign in to comment.