Stack The Laravel framework is fast, clean, and filled with best practices. In this stack, it will handle the backend as an API.
The Laravel Vite package ties Laravel's frontend build process to Vite, allowing us to use Vite with Laravel having minimal configuration.
Vite gets our development server running - our finger on the pulse - in a split second, and hot-reloads faster than you can
alt+tab
.
Vue 3 is powerful, fast, and lends itself to clean organization through its Composition API.
Vue Router allows us to handle SPA navigation on our frontend.
VueUse is an awesome library of
use
functions for Vue 3 Composition API that allow us to access many browser APIs reactively.
TypeScript allows us to remember what goes where - it gives us code intellisense.
Workbox handles the complexity of our Service Worker for us, allowing us to run code in the background while our app is closed.
Pinia provides a type-safe, structured way to share data between components.
Tailwind accelerates CSS development by allowing us to compose most of our CSS rules from our HTML.
Material Design Components provides beautiful UI components that follow Google's best practices for UI design.
LogRocket gives us a live replay of every session on our app, with console and network logging as well.
Pusher allows us to utilize websocket connections, for things like live updates, as well as push notifications, to let users know when something happens and they're not in the app.
Get started
composer install
npm install
npm start
Or, if you want background tasks for each process:
php artisan serve & # the Laravel server
php artisan queue:listen & # if you'd like to run Laravel queue jobs
npm run dev & # the Vite server