laravel running

This commit is contained in:
2026-07-02 15:52:13 +02:00
parent 2c6eda0db9
commit 5c667fd1cf
62 changed files with 12937 additions and 0 deletions
@@ -0,0 +1,17 @@
<?php
namespace App\Domains\Dashboard\Controllers;
use App\Providers\InertiaProvider;
use Illuminate\Http\Request;
use Inertia\Inertia;
use Inertia\Response;
class DashboardController
{
public function __invoke(Request $request): Response
{
$inertiaProvider = new InertiaProvider('Dashboard/Dashboard', []);
return $inertiaProvider->render();
}
}
+3
View File
@@ -0,0 +1,3 @@
<?php
use Illuminate\Support\Facades\Route;
+6
View File
@@ -0,0 +1,6 @@
<?php
use App\Domains\Dashboard\Controllers\DashboardController;
use Illuminate\Support\Facades\Route;
Route::get('/', DashboardController::class)->name('dashboard');
+12
View File
@@ -0,0 +1,12 @@
<script setup>
import AppLayout from '@/layouts/AppLayout.vue'
import { ref } from 'vue'
const message = ref('Hallo Welt')
</script>
<template>
<AppLayout title="Dashboard">
<h2>{{ message }}</h2>
</AppLayout>
</template>