Do you want to use the power of Laravel and Svelte combined with InertiaJS as the Middleware hassle-free with just a single click? This repository is right for you then. It features the following built-in stack :
- Click on
Use this template
in the top right to use the boilerplate - Install the required php packages using
composer install
- Run
npm install
to install all npm packages - Use
npm run dev
to start vite watch your files - Copy the .env.example file by using
cp .env.example .env
- Generate the laravel application key with
php artisan key:generate
- Last but not least use
php artisan serve
to start your laravel application
Simply create/edit your Svelte front-end files inside of the /resources/js/Pages/
directory.
- Execute
npm run build
to make vite build your project files