Upstreams and targets entities components.
vue
andvue-router
must be initialized in the host application@kong/kongponents
must be added as adependency
in the host application, globally available via the Vue Plugin installation, and the package's style imports must be added in the app entry file. See here for instructions on installing Kongponents.@kong-ui-public/i18n
must be available as adependency
in the host application.axios
must be installed as adependency
in the host application.
UpstreamsList
TargetsList
TargetForm
UpstreamsForm
UpstreamsFormGeneralInfo
UpstreamsFormLoadBalancing
UpstreamsFormHealthChecks
UpstreamsFormActiveHealthCheck
UpstreamsFormPassiveHealthCheck
UpstreamsConfigCard
Reference the individual component docs for more info.
Install the component in your host application
yarn add @kong-ui-public/entities-upstreams-targets
Import the component(s) in your host application as well as the package styles
import {
UpstreamsList,
TargetsList,
TargetForm,
UpstreamsForm,
UpstreamsConfigCard,
} from '@kong-ui-public/entities-upstreams-targets'
import '@kong-ui-public/entities-upstreams-targets/dist/style.css'