berumotto
V2EX  ›  React

想问下 react router 的问题

  •  
  •   berumotto ·
    noberumotto · Sep 21, 2019 · 3185 views
    This topic created in 2470 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   ·   2625 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 15:19 · PVG 23:19 · LAX 08:19 · JFK 11:19
    ♥ Do have faith in what you're doing.