Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore: Migrated Frontend Project From React + Vite to Next.js #43

Merged
merged 11 commits into from
Feb 3, 2025

Conversation

OWK50GA
Copy link
Contributor

@OWK50GA OWK50GA commented Feb 1, 2025

Changes Made:

  • Installed Next 15.1.6 and React 19.00
  • Uninstalled React Router DOM to do routing the Next way, and changed places where components and hooks were imported from React Router DOM to use Next
  • Moved the assets folder into the public folder, and changed all the imports
  • Changed all the jsx img tags to the Next Image component
  • Used Next folder structure to handle routing and page linking
  • Removed the Vite + React related dependencies and dev dependencies, replacing them with the right ones for Next,js
  • Deleted the App.jsx, App.css, main.jsx, index.css and index.html, while replacing with global.css and app/layout.jsx

This PR makes sure build is still successful

Closes #42

@Oshioke-Salaki
Copy link
Collaborator

Resolve merge conflicts

@Oshioke-Salaki Oshioke-Salaki merged commit 5686e61 into mubarak23:main Feb 3, 2025
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Convert to NextJs
2 participants