Can't run Vue.Js app in frappe portal pages

I’ve made a seperate vue js app using frappe ui and frappe rest api, the app runs fine when running it with a seperate node.js server, but when i build it and copy the files into www folder inside my app, it does not work, the files are loaded but the app is a blank white screen, no errors, no messages in console,

any solutions?
any other way to run the app in the same frappe server?

and thanks