This project is a modern TypeScript React router app.
👉 React docs
👉 React Router docs
npm install
install the dependencies.
npm start
start the app.
src
├── assets
├── components
├── hooks
├── routes
├── App.tsx
└── root.tsx
👉 The app entry point is the index.html
which imports the root.tsx
module.
The pages of the app live inside the routes
directory and they are mounted in the routes defined in the App.tsx
component.
Also these commands should be helpful!
npm run lint
and fix any errors (or npm run lint:fix
.)
npm run format
to format the code.
npm test
to run tests.