Laravel+InertiaJS+Svelte+Bootstrap Auth: Step By Step Tutorial Part 1
A few days ago i had to write a landing page, but tired of the complexity of react and angular, and i didn’t want to use something like AlpineJS or old grandpa jQuery… I tried Svelte and i found it amazing ! Fast to develop, fast to run, very simple setup. I thought it is how JS Frontend should be done.
So i asked myself i could integrated it with Laravel and i amazingly found it can be done ! InertiaJS has support to it, so i started a little paid membership project area with Laravel + Svelte + InertiaJS.
I really think Laravel+InertiaJS is a powerfull tool for building fast and robust MVP, webapps and products in general and Svelte makes this even faster and simpler compared to React, having a robust, featuresfull and complete javascript “framework” instead of something more tinier like AlpineJS (jQuery is a no-go in general for me).
At the beginning the setup can be confusing … A lot of information are missing from one tutorial to another or even in the official docs some information are missing too and the setup becomes more complicated than it really is. So this is why of this tutorial, let’s start!
Create Laravel App
First we need to create a laravel project, i am using laravel 8 because i’m not yet familiar…