mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-28 00:06:53 +01:00
13 lines
360 B
JavaScript
13 lines
360 B
JavaScript
'use strict';
|
|
|
|
const React = require('react');
|
|
const Router = require('react-router');
|
|
const UserStore = require('./stores/UserStore');
|
|
const routes = require('./routes');
|
|
|
|
UserStore.init();
|
|
|
|
Router.run(routes, Handler => {
|
|
React.render(<Handler/>, document.getElementById('content'));
|
|
});
|