Question

how to host nuxt app parrallel with laravel app

Posted February 21, 2020 514 views
Deployment

i hosted my laravel (API) app using nginx. but i wanted to host nuxt app on the same server. dont know how run nuxt and laravel app on the same server.
help would be more appreciated thanks in advance.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
1 answer

Hi there @ucappbe,

You can follow the steps on how to setup a Nuxt app here:

https://www.digitalocean.com/community/tutorials/how-to-build-a-universal-application-with-nuxt-js-and-django

In the tutorial, it’s shown how to setup Nuxt on port 8000, so that it will not affect your existing Nginx service.

Hope that this helps!
Regards,
Bobby

by Jordan Irabor
In this article, we will see how to create a Universal application using Django and Nuxt.js. Django will handle the back-end operations and provide the APIs using the (DRF) Django Rest Framework, while Nuxt.js will create the frontend.
Submit an Answer