Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document requirement of an ES2015 polyfill. #870

Merged
merged 1 commit into from
May 24, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions wiki/consuming.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ Test utilities are published from the `lib/test` directory.
import { findTestSubject } from '@elastic/eui/lib/test';
```

## Requirements

EUI expects that you polyfill ES2015 features, e.g. [`babel-polyfill`](https://babeljs.io/docs/usage/polyfill/). Without an ES2015 polyfill your app might throw errors on certain browsers.

## Using EUI in Kibana

The EUI CSS is included in [Kibana's](https://www..github.com/elastic/kibana) CSS bundle. To use EUI code in Kibana, simply import the components and services you want.
Expand Down