A ready to develop Laravel and Svelte SPA using Inertia
Clone the repo
git clone https://github.com/dansvel/laravel-svelte.git
cd laravel-svelte
Install PHP dependencies:
composer install
Install NPM dependencies:
npm install
Build assets:
npm run dev
Setup configuration:
cp .env.example .env
Generate application key:
php artisan key:generate
Run artisan server:
php artisan serve
You're ready to go! Open browser and check the following address. http://localhost:8100