Issue VueJS + Vite + Plesk

definetlyafemboy

New Pleskian
Hello,

I have a Reseller Premium Plesk, my hoster could not help me, so I ask here.
Can you tell me how to get a VueJS Vite project running on Plesk?

So practically I want to have automatic pulls from Github, that works, but when I select nodejs, vite or vue does not have a js file like server.js or index.js... do you have any idea how I can let them build automatically and then make it work, because otherwise there is always an error like this

uncaught typeerror: failed to resolve module specifier “primevue/resources/themes/aura-dark-amber/theme.css”. relative references must start with either “/”, “./”, or “../”.

Which makes no sense, because if I upload it to the webspace (the dist folder) it works and also npm run dev works, only somehow here it doesn't work

I would be grateful for help
regards

Translated with DeepL.com (free version)
 
Back
Top