如何配置refine框架以在子目录中呈现url

问题描述 投票:0回答:1

我有一个正在完善的项目(https://refine.dev),它安装在子目录中(例如:http.site.com/subfolder)。

但是访问站点时,refine组装出来的url是(http.site.com/login)。

如何让refine接受子文件夹并显示如下url(http.site.com/subfolder/login)?

我在框架文档中查找了问题的解决方案,但没有成功。

reactjs react-router frameworks
1个回答
0
投票

refine 通过 React context API 提供其功能。这意味着部署 Refine 应用程序与任何其他 React 应用程序没有区别。

© www.soinside.com 2019 - 2024. All rights reserved.