'How to deploy NuxtJS (2) on Jelastic?
I can't figure out how to deploy NuxtJS to Jelastic simply.
Can I just use a nodeJS node or do I also need a Nginx node to manage the reverse proxy for example?
My backend (API) is made with spring-boot.
Below is the image of my two nodes for the moment. I can easily put in production my spring-boot app since it is a .war archive
But for NuxtJS, how can I deploy my app and execute the necessary commands (cg. npm install, nuxt generate, etc.)?
Would anyone be willing to answer in the form of a mini-tutorial to do this correctly please?
Solution 1:[1]
Hard to tell because it's not really a well known platform and I don't really want to create myself an account there just to debug it.
Meanwhile, this Nuxt page does have a link regarding several deployments. Here, since you went for the Node.js path, I guess that you need to have your app as SSR (ssr: true and target: 'server'). More common ones would be Heroku or DigitalOcean.
You could probably look for them both and see what are the main similar things and do kind of a mix.
Otherwise, if you went SSG (ssr: true and target: 'static'), you could go to simpler and more well known platform like Netlify, Vercel, Surge etc...
Also, maybe looking for all the same answers with the jelastic tag could maybe provide you with some additional tips!
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | kissu |

