Create New Page
To create a page, we need to create routes and components, and write some import lines in a few files. In this guide, we will see how to use them.
Creating a Standalone Component
First, navigate to the src/pages folder and create a suitable folder name for your page. For example, if you are creating an authentication page, you might name it auth.
Now, create the component inside the folder, making it the index file for your page. This page's component should be placed inside the src/component folder.
Add a path for the newly created page in the routes.ts file located in src/routers/routes.ts. Then, render the component in the RouterProvider.tsx file inside src/routers/RouterProvider.tsx