@kong-ui-public/misc-widgets
TypeScript icon, indicating that this package has built-in type declarations

2.0.38 • Public • Published

@kong-ui-public/misc-widgets

A collection of miscellaneous components and widgets.

This package is a good home for random, one-off components that aren't complex and a standalone package is not necessary.

Components

Requirements

  • vue must be initialized in the host application
  • @kong/kongponents must be available as a dependency in the host application, along with the package's style imports. See here for instructions on installing Kongponents.
  • @kong-ui-public/i18n must be available as a dependency in the host application.

Usage

Install

Install the package in your host application

yarn add @kong-ui-public/misc-widgets

# OR

pnpm --filter="@kong-ui/konnect-app-{name} add @kong-ui-public/misc-widgets"

Register Components

You can import individual components locally where they are being used. Don't forget to import the styles as well.

<template>
  <GithubStar />
</template>

<script setup lang="ts">
import { GithubStar } from '@kong-ui-public/misc-widgets'
import '@kong-ui-public/misc-widgets/dist/style.css'
</script>

Readme

Keywords

none

Package Sidebar

Install

npm i @kong-ui-public/misc-widgets

Weekly Downloads

712

Version

2.0.38

License

Apache-2.0

Unpacked Size

22.1 kB

Total Files

18

Last publish

Collaborators

  • konginc