mirror of
https://github.com/ascribe/onion.git
synced 2024-11-15 09:35:10 +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')
|
|
);
|
|
});
|