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