是否有任何方法可以在Flutter web应用程序和管理面板(Laravel框架)中创建新页面? &g



我为我的一个项目购买了一个基于flutter的食品交付android应用程序(用户应用程序,web应用程序和交付员应用程序)和使用Laravel框架构建的管理面板的完整源代码。

根据作者的文档指南,我根据我的业务需求定制了美食应用。

我需要帮助创建一个页面。在应用程序中,我有4页,我想要2页以上。

我已经在目录

中创建了一个新页面public_html/admin.domain.in/resources/views/refund-policy.blade.phppublic_html/admin.domain.in/resources/views/admin-views/business-settings/refund-policy.blade.php

也在routes/web.php

中添加了下面的代码
Route::get('refund-policy', 'HomeController@refund_policy')->name('refund-policy');

routes/admin.php

Route::get('refund-policy', 'BusinessSettingsController@refund_policy')->name('refund-policy')->middleware('actch');
Route::post('refund-policy', 'BusinessSettingsController@refund_policy_update')->middleware('actch');

但是我无法在管理面板和网站中看到新的页面部分。

创建这样的控制器和函数

class HomeController 
{
public function refund_policy()
{
return view('refund-policy');
}
}

然后在侧边菜单上添加菜单

最新更新