[Vuejs]-How to configure server(hosting) for laravel-backend and vue-fontend in same host

0👍

You could use a different port for your api

By doing this you can run both applciations on the same server and access them by specifing the port in the url.

If you don’t want to use ports in the url itself, you can also use nginx (or apache i suppose) with reverse proxy to give a ‘path’ to that port (would also be cleaner)

Leave a comment