Frappe vue configration

Hi, I want to build a custom app where the Vue.js frontend runs under the same Frappe portal URL. I have tried different methods, including configuring it with Frappe UI, but in those cases, the frontend runs on a separate portal URL. What I need is for both the Vue.js app and the Frappe backend to be accessible under the same portal URL.