Tools
Where it goes
Paths the setup guide names for the official Vue starter kit. The app entry row is from the Inertia 3.9 article. Tailwind CSS 4 and shadcn-vue ship with that kit and are not in the download chart.
Paths the setup guide names for the official Vue starter kit. The app entry row is from the Inertia 3.9 article. Tailwind CSS 4 and shadcn-vue ship with that kit and are not in the download chart. The lines the guide prints are in the samples.
| Thing | Path | Command | Rule |
|---|---|---|---|
| New app | blog/ | laravel new blog | Yes to a starter kit, then Vue and built-in authentication. Pest installs unless you pass --phpunit. Source |
| Dev servers | blog/ | composer run dev | Starts the PHP server, the queue worker, the log viewer, and Vite. The app is at http://localhost:8000. Source |
| Model | app/Models/Post.php | php artisan make:model Post -mfs | The same command creates the migration, factory, and seeder. Source |
| Migration | database/migrations/xxxx_xx_xx_create_posts_table.php | php artisan migrate | Title, unique slug, excerpt, and a nullable published_at. Source |
| Factory | database/factories/PostFactory.php | Edit the file | Fake title, slug, excerpt, and published_at. Source |
| Seeder | database/seeders/PostSeeder.php | php artisan db:seed --class=PostSeeder | Creates 12 posts from the factory. Source |
| Controller | app/Http/Controllers/PostController.php | php artisan make:controller PostController | Inertia::render('posts/Index') passes the posts prop. The guide adds no API route for this list. Source |
| Route | routes/web.php | Edit the file | GET /posts, named posts.index. Source |
| Vue page | resources/js/pages/posts/Index.vue | Edit the file | The folder is pages, lowercase. The Inertia component name is posts/Index. Props use defineProps in script setup. Source |
| Feature test | tests/Feature/PostsTest.php | php artisan test | Pest. assertInertia checks the component posts/Index. Source |
| App entry | resources/js/app.ts | Edit the file | Register an Inertia navigate listener here once. Source |
| Production | Command only | npm run build:ssr | npm run dev already server-renders. Deploy the SSR bundle with npm run build:ssr. Source |