Components
To register a Vue component with Voyager, simply call voyager.component('my-component', Component)
:
Settings
You can provide the name of a component that will be shown in a modal when clicking the Settings
button on the plugins page.
To do so, include the SettingsComponent
trait and return the name of your component in a function named getSettingsComponent
:
Last updated