We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d4de20d + ea48abc commit 471588fCopy full SHA for 471588f
docs/guides/overview.md
@@ -371,3 +371,15 @@ redirecting transitions, query parameters and more.
371
[API]:../api/
372
[path-matching]:./path-matching.md
373
374
+CommonJS Guide
375
+--------------
376
+
377
+In order for the above examples to work in a CommonJS environment you'll need to `require` the following:
378
379
+```
380
+var Router = require('react-router');
381
+var Route = Router.Route;
382
+var Routes = Router.Routes;
383
+var DefaultRoute = Router.DefaultRoute;
384
+var Link = Router.Link;
385
0 commit comments