@ricepuddin/redux-segment
Version:
Segment.io analytics integration for redux.
20 lines (16 loc) • 418 B
text/typescript
import {Component, View, Inject, enableProdMode} from 'angular2/core';
import {bootstrap} from 'angular2/bootstrap';
import configureStore from './store/configure-store';
import App from './containers/app';
const provider = require('ng2-redux').provider;
const store = configureStore();
declare let __PRODUCTION__: any;
if (__PRODUCTION__) {
enableProdMode();
}
bootstrap(
App,
[
provider(store)
]
);