Skip to content

Files

Latest commit

73f9e81 · Feb 21, 2025

History

History

entities-upstreams-targets

@kong-ui-public/entities-upstreams-targets

Upstreams and targets entities components.

Requirements

  • vue and vue-router must be initialized in the host application
  • @kong/kongponents must be added as a dependency 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 a dependency in the host application.
  • axios must be installed as a dependency in the host application.

Included components

  • UpstreamsList
  • TargetsList
  • TargetForm
  • UpstreamsForm
  • UpstreamsFormGeneralInfo
  • UpstreamsFormLoadBalancing
  • UpstreamsFormHealthChecks
  • UpstreamsFormActiveHealthCheck
  • UpstreamsFormPassiveHealthCheck
  • UpstreamsConfigCard

Reference the individual component docs for more info.

Usage

Install

Install the component in your host application

yarn add @kong-ui-public/entities-upstreams-targets

Registration

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'

Individual component documentation