File Structure

  • app/ Contains the application logic
  • routes/ Every file in this directory correspond to a route
  • components/ It is a convention to place all the components used in the application here
  • public/ Contains the static files like images, fonts, etc
  • root.tsx The entry point of the application
  • routes/_index.tsx The home page of the application
  • *.server.ts Excludes the file in the client bundle
  • *.client.ts Excludes the file in the server bundle