#Route Naming Convention - Epic Stack

1 messages · Page 1 of 1 (latest)

candid patrol
#

Hello, I've been learning Remix + React for the past month or so. I recently installed the Epic Stack, and everything works.

My question though is why are some folders named "marketing+" What does the "" and "+" mean. Reading the documents, I thought "_" was reserved for the index file? Also, how do we access these routes. Using the normal route structure doesn't work. Eg, I cannot go to marketing/tos ...

trail totem
candid patrol
#

Ahh, I understand. Do you recommend using this vs the "Folders for Organization" structure on the docs?

untold ibex
#

It's simply a matter of preference. If the application you are building is large and/or it is composed of several parts (marketing, admin, etc...) with several layouts, it can be useful to use remix-flat-routes and have some subdivisions.

#

But it’s fine to go with default and switch later if needed