git clone (https://github.com/FWDP/fwdp-starter-vite.git
# 1. Go inside the Directory
cd fwdp-starter-vite
# 2. Reinitialize git repository
# 2.a Remove it using git bash
rm -rf .git && git init
# 2.b Remove using powershell
Remove-Item --path .git -Recurse -Force && git init
# Install dependencies
npm install
npm run dev
npm run test
npm run build
npm run preview
First we need to go to the settings of your reposity and Pages Enable it using GitHub Actions
By default this will be hosted as yourusername.github.io/fwdp-starter-vite
but you can change it to yourusername.github.io
by changing the BASE
property in vite.config.js
to /
if you are hosting it with username.github.io
for sideprojects you can use username.github.io/projectname
and change the BASE
property in vite.config.js
to /projectname/
projectname
is the name of your repository