#_authenticated.tsx doesn't work.
12 messages · Page 1 of 1 (latest)
do you have your routes in a _authenticated subfolder next to _authenticated.tsx?
No, _authenticated.tsx is in the root of the routes folder.
then it won't work
Oh.
routes need to be within the layout route
see this example
this does use the flat syntax (_auth.invoices.tsx for example)
So I have to create an _auth.${route}.tsx for all routes?