Tell me, so doing, if Express.js gives the front at the Vue data in JSON over http directly on a different port?
Continue to deal with how should I organize the interaction of the front Nuxt to him on one of the Node frameworks (e.g. Express, Koa, etc.)
Yet nothing unclear and clear the docks, not found everywhere write about dev and nothing really about the production :(
Is it possible to do so (Ubuntu on VPS):
1. Start net Express, say, 9900 port.
2. Nuxt to run on port 80 (yet did not understand, do I need to front apache or nginx)
3. Taking the data in front using axios turning on port 9900.
Or as it is usually done?
asked March 23rd 20 at 19:09
It can be done, but you need to care about the protection of 9900 port on the machine, to fiction free access to this port
I don't know about nuxt, but that's what usually do the ui/api.
Find more questions by tags Vue.jsNode.js