feat: Phase 4-1 테넌트 관리 프론트엔드 구현

- 라우트 등록 (web.php: Blade 화면, api.php: HTMX API)
- Blade 뷰 생성 (index, create, edit)
- Partial 템플릿 생성 (table with pagination)
- HTMX 통합 (비동기 CRUD, 필터링, 페이지네이션)
- Pure Tailwind CSS 스타일링
- 실시간 검색 및 상태 필터
- 삭제/복원 기능 구현
This commit is contained in:
2025-11-21 15:00:30 +09:00
parent 575e9df431
commit 0f214459dd
6 changed files with 706 additions and 1 deletions

View File

@@ -27,7 +27,14 @@
// 테넌트 전환
Route::post('/tenant/switch', [TenantController::class, 'switch'])->name('tenant.switch');
// 대시보드 (임시)
// 테넌트 관리 (Blade 화면만)
Route::prefix('tenants')->name('tenants.')->group(function () {
Route::get('/', [TenantController::class, 'index'])->name('index');
Route::get('/create', [TenantController::class, 'create'])->name('create');
Route::get('/{id}/edit', [TenantController::class, 'edit'])->name('edit');
});
// 대시보드
Route::get('/dashboard', function () {
return view('dashboard.index');
})->name('dashboard');