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
# React Nested Router is only distributed with CommonJS. | |
# To get a standalone version wrapped in a Universal Module (AMD/CJS/Global) run the browserify command below. | |
# If there's no module system it'll export a global called ReactNestedRouter. | |
# This assumes you've got React on the page in some other way (AMD, Global, etc) | |
$ npm install browserify | |
$ npm install react-nested-router | |
$ ./node_modules/.bin/browserify -r react-nested-router/modules/main -x react -s ReactNestedRouter -o react-nested-router.js | |