Initial commit: Laravel 13 base with Livewire 4, Flux UI and MySQL

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
2026-11-22 09:34:33 +02:00
co-authored by Claude Opus 5.5
commit 919e24c252
144 changed files with 23907 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
@import 'tailwindcss';
@import '../../vendor/livewire/flux/dist/flux.css';
@source '../../vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php';
@source '../../storage/framework/views/*.php';
@custom-variant dark (&:where(.dark, .dark *));
@theme {
--font-sans: Inter, ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
'Segoe UI Symbol', 'Noto Color Emoji';
}
+1
View File
@@ -0,0 +1 @@
//
+23
View File
@@ -0,0 +1,23 @@
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{ $title ?? config('app.name') }}</title>
<link rel="preconnect" href="https://fonts.bunny.net">
<link href="https://fonts.bunny.net/css?family=inter:400,500,600&display=swap" rel="stylesheet" />
@vite(['resources/css/app.css', 'resources/js/app.js'])
@livewireStyles
@fluxAppearance
</head>
<body class="min-h-screen bg-white antialiased dark:bg-zinc-800">
{{ $slot }}
@livewireScripts
@fluxScripts
</body>
</html>
+25
View File
@@ -0,0 +1,25 @@
<?php
use Livewire\Attributes\Title;
use Livewire\Component;
new #[Title('Toiminnanohjaus')] class extends Component
{
public int $clickCount = 0;
public function incrementClickCount(): void
{
$this->clickCount++;
}
};
?>
<div class="mx-auto max-w-xl space-y-6 p-6">
<flux:heading size="xl" level="1">Toiminnanohjaus</flux:heading>
<flux:text>Livewire ja Flux UI toimivat. Tämä on väliaikainen kokeilusivu.</flux:text>
<flux:button variant="primary" icon="plus" wire:click="incrementClickCount">
Klikattu {{ $clickCount }} kertaa
</flux:button>
</div>
File diff suppressed because one or more lines are too long