Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 638 Bytes

readme.md

File metadata and controls

16 lines (11 loc) · 638 Bytes

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.