Put the following into your vue.config.js
:
module.exports = { publicPath: '/REPO/' }
Put the following into your vite.config.js
:
...
export default defineConfig({
base: '/REPO/',
...
})
Now you can deploy your build to the gh-pages
branch and damn the consequences.