-
-
Save dispalt/a6a32213c3b99c8ff3e3 to your computer and use it in GitHub Desktop.
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 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment