berumotto
V2EX  ›  React

想问下 react router 的问题

  •  
  •   berumotto ·
    noberumotto · Sep 21, 2019 · 3191 views
    This topic created in 2475 days ago, the information mentioned may be changed or developed.
    刚学习不太明白,如果一个项目有非常多的页面组件,难道都要一个个引入然后设置路由规则吗?能否像后端开发那样只要简单地设置路由规则,就可以通过类似 /模块 /controller/action 这样访问?或者有其他更方便的库?
    1 replies    2019-09-21 18:14:48 +08:00
    yokyj
        1
    yokyj  
       Sep 21, 2019
    react-router-config
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5900 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 49ms · UTC 02:45 · PVG 10:45 · LAX 19:45 · JFK 22:45
    ♥ Do have faith in what you're doing.