mirror of
https://github.com/ascribe/onion.git
synced 2024-12-22 17:33:14 +01:00
17 lines
338 B
JavaScript
17 lines
338 B
JavaScript
'use strict';
|
|
|
|
import React from 'react';
|
|
import Router from 'react-router';
|
|
|
|
import AscribeApp from './components/ascribe_app';
|
|
import routes from './routes';
|
|
import alt from './alt';
|
|
|
|
|
|
Router.run(routes, Router.HashLocation, (AscribeApp) => {
|
|
React.render(
|
|
<AscribeApp />,
|
|
document.getElementById('main')
|
|
);
|
|
});
|