[Content]: Routes don't need to be in the /routes directory #870
Labels
improve documentation
Enhance existing documentation.
pending review
Awaiting review by team members.
📚 Subject area/topic
/solid-start/building-your-application/routing.mdx
📋 Page(s) affected (or suggested, for new content)
https://docs.solidjs.com/solid-start/building-your-application/routing
📋 Description of content that is out-of-date or incorrect
Today I accidentally place a new route in
/src
instead of/src/routes
and the route works. The doc states:"Each file in the routes directory is treated as a route. To create a new route or page in your application, simply create a new file in the routes directory. "
🖥️ Reproduction in StackBlitz (if reporting incorrect content or code samples)
I'll provide an example once I get an issue number.
The text was updated successfully, but these errors were encountered: