1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-28 00:06:53 +01:00
unleash.unleash/public/js/app.jsx
2020-02-20 08:30:23 +01:00

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'));
});