mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
11 lines
345 B
JavaScript
11 lines
345 B
JavaScript
var React = require('react');
|
|
var Router = require('react-router');
|
|
var UserStore = require('./stores/UserStore');
|
|
var routes = require('./routes');
|
|
|
|
UserStore.init();
|
|
|
|
Router.run(routes, function (Handler) {
|
|
React.render(<Handler/>, document.getElementById('content'));
|
|
});
|