想加上路由的功能,我們需要react-router,它的用法也十分簡單,就跟我們之前用component 差不多: ReactDOM.render( ( <Router history={hashHistory}> <Route path="/" ...
確定! 回上一頁