jeudi 12 mai 2022

How to load view file from another root directory in Laravel 5.8

I want to load view file from another root directory.

Example : public function getProducts(Request $request) { return view(http://localhost/laravelApp/view/products, $data); } http://localhost/laravel/view this is my another view file directory and 'products' is view file name and my laravel project directory is laravelApp. My laravel version 5.8



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire