PLATFORM
  • Tails

    Create websites with TailwindCSS

  • Blocks

    Design blocks for your website

  • Wave

    Start building the next great SAAS

  • Pines

    Alpine & Tailwind UI Library

  • Auth

    Plug'n Play Authentication for Laravel

  • Designer comingsoon

    Create website designs with AI

  • DevBlog comingsoon

    Blog platform for developers

  • Static

    Build a simple static website

  • SaaS Adventure

    21-day program to build a SAAS

Question By
Solved

No hint path defined for [docs].

Solved
produkt

Feb 8th, 2025 07:48 AM

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?

bobbyiliev

Feb 8th, 2025 07:53 AM

Sounds like it is conflicting with another route:

php artisan route:list

Do you see an existing route for /docs?

produkt

Feb 8th, 2025 09:00 AM

Yes, it seems so, I found it defined here:

// Documentation routes Route::view('docs/{page?}', 'docs::index')->where('page', '(.*)');

What is 'docs::index'? Where is that pointing to?

bobbyiliev

Feb 8th, 2025 09:05 AM

Best Answer

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.