This is a Laravel 9 starter template that is configured to use Vite, Svelte, Inertia, and Unocss.
ziggy.js
file will be generated automatically from the routes/web.php
file. This allows you to use the route()
function in your Svelte components .
generated.d.ts
file will be generated automatically from the data classes in the App/Data directory>
git clone https://github.com/wpzag/laravel-inertia-svelte-unocss.git
php artisan key:generate;
php artisan typescript:transform
php artisan ziggy:generate