Closed (fixed)
Project:
Canvas External JavaScript Components
Version:
1.x-dev
Component:
Code
Priority:
Major
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
30 Sep 2025 at 12:22 UTC
Updated:
19 Oct 2025 at 19:19 UTC
Jump to comment: Most recent
Comments
Comment #3
fagoI started working on this and pushed some WIP code, it's a first draft.
Disclosure & Note: I used AI to help creating this!
Comment #4
fagothis seems ready now!
it already adds drush commands but no ui for now. we can add this in a follow-up then.
Comment #5
fagoI got i working quite nicely! :-)
Based upon the vue-team supported vue-component-meta package we are able to read most metadata. Generally, it buidls upon the typescript definitons and also supports enums that way. @example and @enum-labels are supported via js-tags. Given that, the generated file is served from nuxt and can be used to easily register files via drush!
https://github.com/drunomics/nuxt-component-preview/releases/tag/1.0.0-a... is released with the new feature.
Comment #7
fago