|
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> |
||
|---|---|---|
| .. | ||
| Controller.php.stub | ||
| Hello.vue.stub | ||
| Index.vue.stub | ||
| package.json.stub | ||
| package.stub | ||
| plugin.json.stub | ||
| Plugin.php.stub | ||
| README.md.stub | ||
| style.css.stub | ||
| vite.config.js.stub | ||
| web.php.stub | ||
# {{name}}
Inhaus-Plugin, erzeugt mit `php artisan inhaus:make-plugin`.
## Entwickeln
```bash
npm install
npm run build # Oberfläche nach dist/ bauen
npm run package # ZIP zum Hochladen erzeugen
```
Das Plugin liegt dafür am besten direkt unter `plugins/{{slug}}` einer Entwicklungsinstallation
des Portals; nach `npm run build` die Seite neu laden.
## Aufbau
- `plugin.json` – Name, Version, Voraussetzungen
- `src/{{studly}}Plugin.php` – Menüpunkt, Kachel, Rechte (Registries des Portals)
- `routes/web.php`, `src/Http/Controllers/` – Seiten
- `resources/js/pages/` – Inertia-Seiten (`{{slug}}::Name`)
- `resources/js/widgets/`, `blocks/`, `profile/`, `profile-panels/`, `editorial/` – Kacheln, Pagebuilder-Blöcke, Profil- und Redaktionsbereiche
- `resources/css/style.css` – Tailwind mit den Design-Tokens des Portals
- `inhaus-sdk/` – Build-Voreinstellung (Kopie aus dem Portal, Version {{coreVersion}})
Oberflächen importieren `vue`, `@inertiajs/vue3` und `@inhaus/ui` – das Portal stellt
sie zur Laufzeit bereit. Übersicht der Bausteine und Registries: `docs/PLUGINS.md` im Portal.