Vue vite deploy app into a subfolder

how to properly deploy a vue app into a subfolder?, the assets seems fine because i add base: "" in vite.config.js, but the component doesnt mount, is there a problem with vue router if i put the app inside subfolder?