src/pages
The src/pages
directory is where your application's pages live. When you make your app-def.ts file, and then run a build, Corract generates the necessary files and directories under src/pages
. This structure is automatically created based on the routes defined in your app-def.ts
, allowing you to focus on building your application without worrying about the underlying file structure. The default export from the index.tsx file, is the component that will render for that given page. ex: src/pages/some-route/index.tsx
will render for the /some-route
route.