Skip to content
On this page

@bridge/ui

Module that provides programmatic access to Vue components defined inside of the plugin's ui/ folder.

Variables

BuiltIn

Const BuiltIn: BuiltIn


UI

Const UI: any

example

//Accesses the component inside of the ui/Main.vue file
const { Main } = await require('@bridge/ui')

//Accesses the component inside of the ui/Nested/Main.vue file
const {
    Nested: { Main: Main2 },
} = await require('@bridge/ui')

Released under the GPL-3.0 License.