@prodfleet/pf-core (1.2.3)

Published 2024-11-26 00:19:04 +00:00 by sanjin

Installation

@prodfleet:registry=
npm install @prodfleet/pf-core@1.2.3
"@prodfleet/pf-core": "1.2.3"

About this package

ProdFleet Core

Prodfleet core components for cross project use for shared style and design consistency.

Installation

npm install @prodfleet/pf-core

Usage

Logo Component

<template>
  <Logo 
    source="/path/to/logo.png"
    alt="Company Logo"
    :size="150"
  />
</template>

<script>
import { Logo } from 'my-vue-components'

export default {
  components: {
    Logo
  }
}
</script>

Props

  • source (String, required): URL of the logo image
  • alt (String, default: 'Logo'): Alt text for the image
  • size (Number, default: 100): Size in pixels (width and height)

Events

  • update:modelValue: Emitted when the value changes
  • select: Emitted when an option is selected, provides the full option object

Development

Make sure custom registry is set in package.json file.:

Add custom registry to npm

npm config set @prodfleet:registry=https://git.outbox.systems/api/packages/Outbox.Systems/npm/
npm config set -- '//git.outbox.systems/api/packages/Outbox.Systems/npm/:_authToken' "{TOKEN}"
npm publish
npm unpublish @prodfleet/gitea_npm@1.0.0
# Install dependencies
npm install

# Build the library
npm run build

Dependencies

Dependencies

ID Version
vite-plugin-vuetify ^2.0.3
vue ^3.0.0
vuetify ^3.0.0

Development Dependencies

ID Version
@vitejs/plugin-vue ^5.0.0
vite ^5.0.0
vue ^3.0.0

Peer Dependencies

ID Version
lodash.debounce ^4.0.8
luxon ^3.1.1
markdown-it ^14.0.0
markdown-it-container ^4.0.0
mermaid ^11.4.0
roboto-fontface *
vue ^3.0.0
vuetify ^3.0.0
Details
npm
2024-11-26 00:19:04 +00:00
9
Sanjin Lisic
14 KiB
Assets (1)
Versions (20) View all
1.4.0 2024-11-27
1.3.2 2024-11-27
1.3.1 2024-11-27
1.3.0 2024-11-27
1.2.5 2024-11-26