mirror of https://github.com/kern/filepizza
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
358 B
JavaScript
12 lines
358 B
JavaScript
import React from 'react';
|
|
import ReactRouter from 'react-router';
|
|
import routes from './routes';
|
|
import alt from './alt';
|
|
|
|
let bootstrap = document.documentElement.getAttribute('data-bootstrap');
|
|
alt.bootstrap(bootstrap);
|
|
|
|
ReactRouter.run(routes, ReactRouter.HistoryLocation, function (Handler) {
|
|
React.render(<Handler data={bootstrap} />, document);
|
|
});
|