fuegosh
Project Structure
Hi everyone, I am new to SolidJs and would like to ask you for some advice and best practices.
I have downloaded a template on SolidStart.
The goal is to create a mobile app with a bottom nav.
How should I structure the project?
- /routes for index, login, etc
- /components for components such as BottomNab, HeaderNav, etc.
- /pages for pages such as home, profile, news, etc.
How do I manage page changes once I click on the Navabar? Should I use Switch?
P.S. I use sass, is it ok to create a folder with all the styles and not put them in the individual component?
Thanks in advance!
2 replies