berumotto
V2EX  ›  React

想问下 react router 的问题

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