Closed MinavKaria closed 1 week ago
@Tanay-ErrorCode Pls acknowledge
@Tanay-ErrorCode @Doraemon012 Why did you revert my PR , everything was fine then too ?
@MinavKaria It was working fine on localhost but once deployed on the firebase hosting, it said 404 for all the pages other than the homepage. So I had to revert that.
@Tanay-ErrorCode Ohh, I have heard this for the first time, I have used that method many times and hosted on the firebase too, Maybe firebase.json
maybe different that is why it would be showing that 🤔
What kind of change does this PR introduce?
Changed the routing to v6 where all the routes are now present in
configs/router.tsx
where you need to just add the path and element likeIssue Number:
Fixes #273
Main Implementation present in:
App.tsx and Navbar.tsx
Other information
Updated the react router dom to version 6 with createBrowserRouter . Finally , making it easier for the beginners to add a page route and made the routes proper for better SEO