Using Vue in Laravel Without Inertia

Using Vue in Laravel Without Inertia

We can use inertia.js, but sometimes we just need to keep it simple. This also works for React and others. Folder Structure # only an example resources ├ js │ ├ app.js │ ├ App.vue │ ├ pages │ │ └ Dashboard.vue │ ├ components │ │ └ ui │ └ layouts └ views └ app.blade.php # Flow Laravel route ↓ controller returns Blade ↓ Blade sets PAGE + PROPS ↓ Vue loads correct page component ↓ component receives props Steps Installation # laravel...

Original Source

Read the full article at Dev →

KhanList aggregates and links to publicly available news content. We do not host full articles from third-party sources. Always verify important information with original sources.