meteorlxy / vssue

:mailbox: A Vue-powered Issue-based Comment Plugin
https://vssue.js.org
MIT License
769 stars 105 forks source link

[Question] Anyway to utilise/modify the Vssue components? #117

Closed adam-nygate closed 3 years ago

adam-nygate commented 3 years ago

Environment

What's your question?

Hi,

At the moment, it looks like the Vssue package provides an already bundled version of the components, meaning you cannot directly utilise VssueHeader as an example.

Is there any way to get around this to manually construct the Vssue component, so that one could, for example, reorganise the display of the comments and comment submission box?

meteorlxy commented 3 years ago

Sorry for delay.

Vssue component is not so customizable. Although it is composed of multiple sub-components, you could take it as a single standalone component.

However, the platform API is decoupled with the component, so you can try to use the api packages directly to build your own Vssue component.

I'll try to refactor Vssue and migrate to Vue 3 next year. It might be easier for customization with compositional API.