Skip to content

Commit

Permalink
docs: ✏️ update
Browse files Browse the repository at this point in the history
  • Loading branch information
NetanelBasal committed Nov 8, 2022
1 parent cf87848 commit 1af7a42
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,12 @@ npm i @ngneat/svg-generator --save-dev

It can be modified to meet your needs.

- Add `@types/svg` to `typesRoot` in your `tsconfig` file
- Add the `outputPath` and `@types/svg` folders to your `gitignore` file
- Run `npm run svg`

Note that this configuration is for `Nx` applications. Checkout the `Angular CLI` demo [repository](https://github.com/ngneat/svg-icon-demo/blob/master/package.json) to see how to configure it.

## Icons Rendering

Use the `provideSvgIcons` to register register the icons:
Expand Down

0 comments on commit 1af7a42

Please sign in to comment.