https://umijs.org/zh-CN/docs/convention-routing

除配置式路由外,Umi 也支持约定式路由。约定式路由也叫文件路由,就是不需要手写配置,文件系统即路由,通过目录和文件及其命名分析出路由配置。

Convention Routing https://umijs.org/docs/convention-routing

Convention Routing

In addition to manually defined routing, Umi supports convention-based routing. This is also called file routing. It does not require manually configuring routes. Instead, the file system defines the routing. The routing configuration is derived from directories, files and their naming.

 

相关文章:

  • 2021-12-22
  • 2021-08-11
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-04
  • 2021-07-19
猜你喜欢
  • 2022-12-23
  • 2021-05-13
  • 2021-05-24
  • 2022-12-23
  • 2021-10-18
  • 2022-12-23
  • 2021-11-21
相关资源
相似解决方案