import React from 'react';import {render} from 'react-dom';import { Router, Route, hashHistory } from 'react-router';class App extends React.Component { render() { return (<h1>App</h1>); }}render(( <Router history={hashHistory}> <Route path="/" component={App}/> </Router>), document.getElementById('root'));報錯信息為為什么已經引用了hashHistory卻還會報錯
添加回答
舉報
0/150
提交
取消