Custom pages not working
-
Hi,
I'm using this method: http://forums.bagisto.com:8080/topic/37/how-to-create-custom-pages
But when I create route I've got error:
InvalidArgumentException View [resources\views\themes\default\views\products-listing] not found.
And
"View [resources\views\themes\demo\views\products-listing] not found."
My
web.php
Route::view('products-listing', 'resources\views\themes\default\views\products-listing');
In products-listing folder I have a one file:
products-listing.blade.php
What I'm doing wrong here?
-
Hello @PyramidHead
According to your web.php file, your views should be residing in the given path - resources\views\themes\default\views\products-listing
Make sure, your view exist there and then after run following command -
php artisan route:cache
and check again.
Thanks
Rahul Shukla