Starter template using Laravel and Svelte.
This starter template includes:
- Laravel 11
- Svelte 4
- Inertia
- Tailwind CSS
- sqlite
Run following commands:
composer install
npm install
cp .env.example .env
php artisan key:generate
Migrate database:
php artisan migrate --seed
To try this app, run these commands on seperate terminal:
npm run dev
php artisan serve
Build the app:
npm run buid
Sign in with email [email protected]
and password password
.
Installation using Docker:
docker build -t laravel-svelte-starter .
docker run -p 80:8000 -d laravel-svelte-starter
Open http://localhost/
on your browser.