Don't Use Inertia.js Do This Instead

Опубликовано: 24 Апрель 2026
на канале: Lance Codes
15,409
115

Thinking of starting a new Laravel and Vue project, and trying to decide if you should use Inertia.js or build a full API instead? Here's my recommendation: if you're building a small web-app, or just learning, go with Inertia. It's simple and efficient for getting something up and running. If you're building a sophisticated back-end that might be consumed by a Web-app, Mobile-app, Desktop-app, and more, I recommend building a separate API, and an SPA to communicate with that API.

Agree or disagree? Let me know in the comments!

Want to get started with a Laravel Vue SPA? Here's a the first video in a series on that, specifically going over Project Setup and Authentication:    • Authentication - Laravel Vue SPA Tutorial  

Happy Coding!