Plugin-SDK: Oberflächen für Kunden-Plugins, Generator, Doku (0.20.0)
Some checks failed
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 3m46s
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 3m49s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 4m7s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 4m8s
CI / PHP 8.3 / mysql:8.0 (pull_request) Failing after 5m51s
CI / PHP 8.4 / mysql:8.0 (pull_request) Failing after 6m29s
CI / PHP 8.3 / mysql:8.4 (pull_request) Failing after 6m12s
CI / Build-Artefakte aktuell (pull_request) Successful in 1m11s
CI / PHP 8.4 / mysql:8.4 (pull_request) Failing after 5m33s

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Friederich Loheide 2026-09-27 04:57:28 +00:00
parent 46b7b05f94
commit ea2200cb3e
353 changed files with 2151 additions and 1542 deletions

26
sdk/stubs/Index.vue.stub Normal file
View file

@ -0,0 +1,26 @@
<script setup>
import { ref } from 'vue';
import { AppLayout, Button, PageHeader, Panel, toast } from '@inhaus/ui';
defineProps({
greeting: { type: String, required: true },
});
const clicks = ref(0);
</script>
<template>
<AppLayout title="{{name}}">
<PageHeader title="{{name}}" description="Ein Plugin, gebaut mit dem Inhaus-Plugin-SDK." />
<div class="ih:grid ih:gap-6 ih:lg:grid-cols-2">
<Panel :title="greeting">
<p class="ih:text-sm ih:text-muted-foreground">
Diese Seite liegt in <code>resources/js/pages/Index.vue</code>. Bausteine wie Panel, Button oder
PageHeader kommen aus <code>@inhaus/ui</code> – Farben und Ecken folgen dem Erscheinungsbild.
</p>
<Button class="ih:mt-4" @click="clicks++; toast.success(`Schon ${clicks}× geklickt`)">Klick mich</Button>
</Panel>
</div>
</AppLayout>
</template>