added migrations for instant delivery

This commit is contained in:
Senad Uka
2015-07-26 19:10:16 +02:00
parent af6864954a
commit 68b25bf491
374 changed files with 135456 additions and 6 deletions

23
node_modules/ga-react-router/README.md generated vendored Normal file
View File

@@ -0,0 +1,23 @@
# Google analytics for react-router
## How to use
1. `npm install ga-react-router`
2. In your `webpack.config.js` add `new webpack.DefinePlugin({GA_TRACKING_CODE: JSON.stringify('XXXXXXXX')})`
3. Use analytics in your `Router.run` code.
## Example
```js
'use strict';
var React = require('react');
var Router = require('react-router');
var analytics = require('ga-react-router');
var routes = require('./routes');
Router.run(routes, Router.HistoryLocation, function(Handler, state) {
React.render(<Handler />, document.getElementById('content'));
analytics(state);
});
```