laravelte Svelte Themes

Laravelte

Hassle-free Laravel + Inertiajs + Svelte + Vite + TailwindCSS Boilerplate

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

  1. Click on Use this template in the top right to use the boilerplate
  2. Install the required php packages using composer install
  3. Run npm install to install all npm packages
  4. Use npm run dev to start vite watch your files
  5. Copy the .env.example file by using cp .env.example .env
  6. Generate the laravel application key with php artisan key:generate
  7. Last but not least use php artisan serve to start your laravel application

Usage

Simply create/edit your Svelte front-end files inside of the /resources/js/Pages/directory.

Deploy

  1. Execute npm run build to make vite build your project files

Top categories

Loading Svelte Themes