reactjs

react router

日期:2019-11-07 阅读:114

https://www.npmjs.com/package/react-router-dom

安装: 

npm install -g create-react-app
create-react-app demo-app
cd demo-app

npm install react-router-dom

 

https://reacttraining.com/react-router/web/guides/quick-start/1st-example-basic-routing

 

http://react-guide.github.io/react-router-cn/docs/Introduction.html

<<点击返回