Reputation: 1219
I'm working on a Mac osx m2 and have been developing a Laravel SPA with React (jsx) and Inertia for what will be a client facing portal while I plan to continue to use a Laravel Blade template site for the administration of the site (not enough time to port everything over). It was becoming a nuisance running one at a time with Docker and Sail, and having separate databases booted up in Docker, but quite effective for the SPA, as I could use the 'npm run dev' command to give me hot reloading that worked so well.
I just discovered Laravel Herd paired with DBngin and TablePlus to access the DB; can I use these three packages as an environment and have multiple sites connect to a single database? I need to have one running with hot reload using 'npm run dev' from command line and another using blade templates via a separate URL.
Upvotes: -2
Views: 1854
Reputation: 1219
This is going to be a game changer for me, hope it helps others.
Upvotes: 0