inertiajs / inertia-laravel

The Laravel adapter for Inertia.js.
https://inertiajs.com
MIT License
2.03k stars 227 forks source link

Using Inertia+Vite+Laravel with one Codebase but 2 Domains #519

Closed wwwDESIGN-basti closed 1 year ago

wwwDESIGN-basti commented 1 year ago

Hey Guys,

is it possible to create a laravel setup with Vite, Vue3 and InertiaJS to build a webseite and admin backend in one codebase but to access the website over the main domain and the admin backend over a subdomain?

Main website: example.de Admin Backend: portal.example.de

If yea, so how can i set this?

Cheers and Thanks.

aknEvrnky commented 1 year ago

the correct place to ask this is not here. You may ask this on laracasts or stackoverflow.

wwwDESIGN-basti commented 1 year ago

ok, posted here: https://laracasts.com/discuss/channels/vite/using-inertiavitelaravel-with-one-codebase-but-2-domains