Course lesson

Install Solid-Router and Use File System Routing to Create Routes

SolidStart is naturally unopinionated, so you can add whatever supported router you want.

Duration
3 min
Access
Free
Transcript
Retained from source evidence

SolidStart is naturally unopinionated, so you can add whatever supported router you want.

When adding routes to our applications, our Routerc configuration tends to get bigger and bigger, not to mention we need to worry about lazy loading routes manually. One way to eliminate these issues is by using File System Routing.

In this lesson, we are going to add Solid-Router and leverage SolidStart FileRoutes to turn our files into routes for our application.