I need to test whether it's easy in Ploi to host Next JS and/or Nuxt JS projects easily.
Test: Next JS & Nuxt JS hosting
Dennis moved item to board Planned10 months ago
Dennis moved item to project Site Level Requests10 months ago
Dennis created the item10 months ago
Not sure if this is useful or not... But I am currently working with Nuxt JS (v2) and I don't find it particularly difficult to host Nuxt projects (using SSR) using Ploi. This is what I do:
(1) Create a new site with project type "None" and web directory "/".
(2) Alter deploy code like so:
(3) Alter Nginx config according/similar to NuxtJS Nginx example for Laravel Forge.
(6) SSH into server and run
pm2 start ecosystem.config.js.
(7) In deploy code add
pm2 reload "project.com":
I am not sure if this is a good way to go about things... but it works for me.