Skip to content

Commit

Permalink
docs: revert css import path to ~
Browse files Browse the repository at this point in the history
  • Loading branch information
scttcper committed Nov 18, 2021
1 parent 9efa4dd commit b836e63
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,18 +69,18 @@ Don't want to use `@angular/animations`? See

```scss
// regular style toast
@import 'node_modules/ngx-toastr/toastr';
@import '~ngx-toastr/toastr';

// bootstrap style toast
// or import a bootstrap 4 alert styled design (SASS ONLY)
// should be after your bootstrap imports, it uses bs4 variables, mixins, functions
@import 'node_modules/ngx-toastr/toastr-bs4-alert';
@import '~ngx-toastr/toastr-bs4-alert';

// if you'd like to use it without importing all of bootstrap it requires
@import '~bootstrap/scss/functions';
@import '~bootstrap/scss/variables';
@import '~bootstrap/scss/mixins';
@import 'node_modules/ngx-toastr/toastr-bs4-alert';
@import '~ngx-toastr/toastr-bs4-alert';
```

- If you are using angular-cli you can add it to your angular.json
Expand Down

0 comments on commit b836e63

Please sign in to comment.