-
QuestionHow do I register my vue single file components with dockview so that I can register them as dockview panels? The docs state that “You can register panels through the dock option components” does this mean there should be a components option I can pass my key value pair to? EnvironmentVue 3 single page application compiled with vite, using single file components Here’s what I’ve figured out
References usedhttps://github.com/mathuo/dockview/blob/master/packages/dockview-vue/src/utils.ts line 39 Potential changes to dockview-vue to make registering vue components easier
Here's what I've tried (irrelevant lines removed for easier reading)
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Looks like this is almost a dupe of #608 with more diagnostic information |
Beta Was this translation helpful? Give feedback.
-
Ah! Figured it out! Meta AI suggested this: Here's the full main.ts file:
|
Beta Was this translation helpful? Give feedback.
Ah! Figured it out! Meta AI suggested this:
app.component('UnitsTable', UnitsTable)
in main.tsHere's the full main.ts file: