Starterkit for Laravel projects using inertia, typescript, sass, vue 3
weswecan/laravel-starter-kit is a Laravel package for starterkit for laravel projects using inertia, typescript, sass, vue 3.
It currently has 0 GitHub stars and 26 downloads on Packagist.
Install it with composer require weswecan/laravel-starter-kit.
Discover more Laravel packages by weswecan
or browse all Laravel packages to compare alternatives.
Last updated
This is a Laravel 12 starter configured for a Vue 3 + Inertia app with TypeScript, Ziggy route helpers, axios, SCSS via Vite, and Laravel Dusk for E2E coverage.
laravel-vite-pluginvite-plugin-vue-devtools@routes in Blade, ZiggyVue in Vue)bootstrap.tsresources/js/app.ts: Inertia + Vue app bootstrap, imports ../scss/index.scss, registers ZiggyVueresources/js/bootstrap.ts: axios on window, sets X-Requested-Withresources/js/Pages/*.vue: Inertia pages (TypeScript SFCs)resources/js/Layouts/BasicLayout.vue: Base layout with <Head />resources/scss/index.scss: global styles (uses _variables.scss)resources/views/app.blade.php: Inertia root, includes @routes + @vitevite.config.js: Laravel + Vue + Vue DevTools pluginstsconfig.json: strict TS, path aliases (@/*, ziggy-js)script setup lang="ts" at the top, then template. No <style> blocks in SFCs.resources/scss/ and import from app.ts.@/ for resources/js (configured in tsconfig.json).route() in Vue (via ZiggyVue) and in Blade via @routes.VITE_APP_NAME for suffix.composer install
cp .env.example .env
php artisan key:generate
yarn install
Run backend and frontend in two terminals:
php artisan serve
yarn dev
If you use Valet, you can skip php artisan serve and just run yarn dev.
Alternatively, a single command exists via Composer (spawns server, queue worker, pail logs, and Vite).
composer run dev
yarn build
composer test
Use Valet with the secured local domain from .env.dusk.local:
cp .env.dusk.local.example .env.dusk.local
php artisan key:generate --env=dusk.local
yarn dev
composer run dusk
https://laravel-starter-kit.testlaravel_testingcomposer run dusk:detect-chromedriver
yarn dlx vue-tsc --noEmit
yarn tsc --noEmit
@routesZiggyVue):route('index')
route('posts.show', { post: 1 })
window.axios with X-Requested-With set.assetsInclude: ['**/*.glsl'] is enabled in Vite if you import GLSL assets.