-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sync: Synced local 'docs/' with remote 'docs/redoc/'
- Loading branch information
redocly-bot
committed
Mar 21, 2022
1 parent
117071e
commit a36610b
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Usage With IE11 | ||
|
||
|
||
## Standalone package | ||
|
||
IE11 is supported by default if you use ReDoc as a standalone package. | ||
|
||
## Usage as a React component | ||
|
||
If you use ReDoc as a React component you should include the following polyfills in your project: | ||
|
||
```js | ||
import 'core-js/es6/promise'; | ||
import 'core-js/fn/array/find'; | ||
import 'core-js/fn/object/assign'; | ||
import 'core-js/fn/string/ends-with'; | ||
import 'core-js/fn/string/starts-with'; | ||
|
||
import 'core-js/es6/map'; | ||
import 'core-js/es6/symbol'; | ||
|
||
import 'unfetch/polyfill/index'; // or any other fetch polyfill | ||
import 'url-polyfill'; | ||
``` |