最简单的antd的index.jsx的路由配置

import '../common/lib';
import Home from '../component/home/Home';
import ReactDOM from 'react-dom';
import React from 'react';
import { Router, Route, Redirect, IndexRoute, hashHistory } from 'react-router';


// ReactDOM.render(, document.getElementById('react-content'));


const pageRoute = (
	

		

	
);
ReactDOM.render(pageRoute, document.getElementById("react-content"));

你可能感兴趣的:(js,reactJS)