The question of the middle layer of node?

the current project is built by vue scaffolding. Call the java API to render the page.
if you join the node middle layer as the service forwarding java interface, will the node server be put together with the vue project or open separately?
if you put it together, if the vue is packaged into a dist file during deployment, how to package the node service together, or if the node service and Vue are opened separately, and the node service is deployed separately with pm2?

Mar.28,2021

vue and node are opened separately. Node forwards the java interface to vue.
node is not packaged, but deployed with pm2

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bfda65-54fed.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bfda65-54fed.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?