react-intl2-example
react-intl2-example copied to clipboard
A small example of react-intl 2
A small example of react-intl 2
Dev Setup
- Clone project and navigate into it
-
npm install
to download all the dependencies -
npm run start:dev
to run the example code - Navigate to
localhost:8080
in a browser to see the result.
Build for "production"
-
npm run build
to compile the bundle.js -
npm run start
to serve the./dist
directory.
Dynamic languages
See the dynamic-langs branch for a small concept of how to dynamically load more languages at runtime, if you don't want to include them all to your webpack-bundle at build-time.