i18n-example
i18n-example copied to clipboard
Compile fails when copying the code into my own app.
When I run my app after copying down the index.js code into my own index..js file, the app fails to compile, and shows the following error message:
./src/index.js Attempted import error: 'addLocaleData' is not exported from 'react-intl'.
Why is that?