[Vuejs]-How to deploy nodejs server (that sends Email) and vuejs app in one server on firebase hosting

0👍

You cannot run a regular Node.js script on Firebase Hosting. The closest you can get is converting that script into Cloud Functions.

Many Node.js apps can be converted, but opening a local post (as seems to be the case for you) is not a good option on Cloud Functions. I’d typically convert your sendEmail endpoint into a Callable or HTTPS triggered Cloud Function.

Leave a comment