V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
berumotto
V2EX  ›  React

想问下 react router 的问题

  •  
  •   berumotto ·
    noberumotto · 2019-09-21 09:56:50 +08:00 · 2561 次点击
    这是一个创建于 1650 天前的主题,其中的信息可能已经有所发展或是发生改变。
    刚学习不太明白,如果一个项目有非常多的页面组件,难道都要一个个引入然后设置路由规则吗?能否像后端开发那样只要简单地设置路由规则,就可以通过类似 /模块 /controller/action 这样访问?或者有其他更方便的库?
    1 条回复    2019-09-21 18:14:48 +08:00
    yokyj
        1
    yokyj  
       2019-09-21 18:14:48 +08:00
    react-router-config
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5466 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 08:12 · PVG 16:12 · LAX 01:12 · JFK 04:12
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.