https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42189

--- Comment #47 from Paul Derscheid <[email protected]> ---
Created attachment 198933
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=198933&action=edit
Bug 42189: (follow-up) Update widget-registry docs for shared Vue runtime

- Remove outdated warning that plugins must use Options API only
- Document that both Composition API and Options API work since all
  bundles share a single Vue instance via the import map
- Update example to show idiomatic Composition API with useBaseWidget,
  WidgetWrapper, and ref

To test:
- Read the JSDoc on registerWidget() in widget-registry.ts
- Verify the example matches the actual plugin contract

Signed-off-by: Clemens Tubach <[email protected]>
Signed-off-by: Thomas Klausner <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to