calesj/laravel-vue-starter-kit 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

calesj/laravel-vue-starter-kit

最新稳定版本:v1.0.0

Composer 安装命令:

composer create-project calesj/laravel-vue-starter-kit

包简介

Personal Laravel 12 + Vue 3 + Inertia.js starter kit with authentication.

README 文档

README

Personal starter kit based on Laravel 12 + Vue 3 + Inertia.js. Includes authentication pages, Tailwind CSS v4, TypeScript, SSR support, and a clean project structure ready to build on.

Stack

  • Laravel 12 (PHP 8.2+)
  • Vue 3 with Composition API + <script setup>
  • Inertia.js v2
  • Tailwind CSS v4
  • TypeScript
  • Vite 7 with SSR support
  • Ziggy (named routes in JS)
  • VueUse composable library

Requirements

  • PHP 8.2+
  • Node.js 20+
  • Composer

Getting Started

# Via Laravel installer (recommended)
laravel new my-app --using=calesj/laravel-vue-starter-kit

# Or via Composer
composer create-project calesj/laravel-vue-starter-kit my-app
cd my-app
npm install
npm run dev

Both methods will automatically:

  1. Copy .env.example to .env
  2. Generate the application key
  3. Create the SQLite database file
  4. Run migrations

Development

# Start all dev servers (Laravel, queue, Vite) concurrently
composer dev

# Or separately
php artisan serve
npm run dev

Auth Routes

The following routes are registered out of the box:

Method URI Name Description
GET /login login Login page
POST /login login.store Submit login
GET /forgot-password password.request Forgot password page
POST /forgot-password password.email Send reset link
GET /reset-password/{token} password.reset Reset password page
POST /reset-password password.store Submit new password
POST /logout logout Logout (auth middleware)
GET /dashboard dashboard Dashboard (auth middleware)

Pages

resources/js/pages/
├── Welcome.vue          # Landing page
├── Dashboard.vue        # (create this for your app)
└── Auth/
    ├── Login.vue        # Login form
    ├── ForgotPassword.vue   # Forgot password form
    └── ResetPassword.vue    # Reset password form

Building for Production

npm run build
php artisan optimize

SSR

SSR is configured and ready. To run with SSR:

composer dev:ssr

Linting & Formatting

# PHP
composer lint          # Fix with Pint
composer lint:check    # Check only

# JS/TS
npm run lint           # ESLint fix
npm run format         # Prettier fix
npm run types:check    # TypeScript check

Testing

php artisan test
# or
composer test

统计信息

  • 总下载量: 1
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 5
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: Vue

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-03-15

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固