php - 如何在 laravel 5.8 中用一个后端和多个前端构建项目?
问题描述
现在,我的项目中有文件夹
project/
..backend (app, route, resources and etc)
..frontend (index.php, bootstrap, css, js and etc)
如何在 laravel 中用一个后端创建多个前端?*更多前端文件夹被赋予不同的名称
例子 :
project/
..backend (app, route, resources and etc)
..assets (bootstrap, css, js and etc)
..frontend1 (index.php)
..frontend2 (index.php)
..frontend3 (index.php)
我想要一个后端有更多不同的前端,并且将是这样的 URL:
1.localhost/project/frontend1
2.localhost/project/frontend2
3.localhost/project/frontend3
目的是每个前端都有代码来区分数据库中的提取因为用户不想先登录,因为它只是不紧急的数据
解决方案
推荐阅读
- python - 通过将列附加到列来重塑 Pandas 数据框
- wordpress - 授予访问者访问权限的外部链接
- android - 如何在自定义适配器类中预选微调器?
- reactjs - 如何在 React 组件中集中导入?
- bash - 在bash的for循环中多次编码变量
- video - 从输入视频中创建透明视频
- python - Cython 类执行相同类型的 cython 类列表
- azure-devops - 如何使用 yaml 在 Azure DevOps 中组合来自两个不同管道的两个工件?
- plot - 朱莉娅:渐变绘图
- android - Expo + Firebase authentication (Identity Toolkit) API key android 限制