You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
250 B
11 lines
250 B
8 years ago
|
import React from 'react';
|
||
|
import Router from 'react-router';
|
||
|
import routes from './routes';
|
||
|
|
||
|
Router.run( routes, Router.HistoryLocation, function( Handler ){
|
||
|
React.render(
|
||
|
React.createElement( Handler ),
|
||
|
document.getElementById('root')
|
||
|
);
|
||
|
});
|