File system routing #566
Unanswered
redbar0n
asked this question in
Help & Questions
Replies: 1 comment 1 reply
-
See #53 (comment). |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Looking at https://vite-plugin-ssr.com/file-structure#domain-driven
I get a bit overwhelmed with so many index files. Is it easy to change to this, instead?
It would make a whole lot more sense in my brain (personally I'm used to the lovable conventions in Ruby on Rails). It's also easier in VS Code when having multiple tabs open. Perhaps vps could treat the file with the same name as the folder as the index file, like that. Another benefit would perhaps be that you could put pages directly in the
/pages/
folder like/marketing/pages/jobs.page.js
if the page didn't have any other associated files or components. Or even maybe/marketing/jobs.page.js
which would be really terse and neat.Beta Was this translation helpful? Give feedback.
All reactions