Deploying First Vite Project on GitHub Pages
Problems with hosting react/vite project on github pages with a custom domain
Error while deploying react vite app to github pages
I have a react/vite app that I am struggling to deploy to GH pages
Videos
Hello, I'm creating a simple Note Recorder app with Vite. As many people suggest, I'm trying to track my project with Git and Github. My repository is working fine and I learned how to push recent changes.
However, when I build and deploy my project for "gh-pages", a new branch is created which only contains a "dist" folder.
Is it a good practice to have a "main" branch for inspecting my code as it is originally structured and a "gh-pages" (or whatever name) branch for deploying it?
The purpose of all this is having a portfolio on my resume so recruiters can take a look. This project is simple and uses Local Storage. I want to add more projects in the future using other tools such as Nextjs and a Mongo or Postgres database.