Laravelte | Laravel 9 + Svelte Boilerplate
About
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 :
Requirements
Installation
- Click on
Use this templatein the top right to use the boilerplate - Install the required php packages using
composer install - Run
npm installto install all npm packages - Use
npm run devto start vite watch your files - Last but not least use
php artisan serveto start your laravel application
Usage
Simply create/edit your Svelte front-end files inside of the /resources/js/Pages/directory.
Deploy
- Execute
npm run buildto make vite build your project files
