A fresh Laravel application is an ideal way to get started with Splade. The package provides a convenient Artisan command, which installs Tailwind CSS 3.0 and Vue 3.0 on the frontend. On the backend, it installs a Route Middleware, an Exception Handler, and it prepares a default view and its route.
laravel new example-appcd example-appcomposer require protonemedia/laravel-spladephp artisan splade:install
splade:install command will also build the frontend assets. Just like regular Laravel applications, you may run the Vite development server:
npm run dev