Skip to content

Commit

Permalink
docs: add note about es5/RtlService to readme (#2309)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikerodonnell89 committed Apr 14, 2020
1 parent 901ae76 commit 01b49ba
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions libs/core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ For an existing Angular CLI application,

_If you do not use the Angular CLI or if this command does not work for you, please see the [full installation guide](https://github.com/SAP/fundamental-ngx/wiki/Full-Installation-Guide)._

1. **Edit your tsconfig.**
Edit the `target` in your `tsconfig.json` to `es5`. The library is incompatible with later versions.

1. **Import the modules you want to use.**

To add the entire library, add the following import to your main application module.
Expand Down Expand Up @@ -97,6 +100,10 @@ For an existing Angular CLI application,
})
export class DemoModule { }
```

1. **Provide the RtlService.**
In your main application module, add `RtlService` to the list of providers. This service is needed to ensure proper right-to-left functionality for
users with their browser set to an RTL language.

1. **Add the component to your HTML.**

Expand Down

0 comments on commit 01b49ba

Please sign in to comment.