No hint path defined for [docs].
I am trying to create a documentation page in my pages folder. I have named the file docs.blade.php
and used name('docs')
at the top. I get the error No hint path defined for [docs].
If I rename the file documentation.blade.php
and use name('documentation')
instead, it works fine. Is this name reserved? Why won't "docs" work?
Sounds like it is conflicting with another route:
php artisan route:list
Do you see an existing route for /docs?
Yes, it seems to be defined here:
File: wave/routes/web.php
Route::view('docs/{page?}', 'docs::index')->where('page', '(.*)');
If you are to remove that line from the routes file, you should be able to use the /docs
route as normal.