@prodfleet/pf-core (1.1.2)
Published 2024-11-25 19:19:20 +00:00 by sanjin
Installation
@prodfleet:registry=npm install @prodfleet/pf-core@1.1.2"@prodfleet/pf-core": "1.1.2"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 imagealt(String, default: 'Logo'): Alt text for the imagesize(Number, default: 100): Size in pixels (width and height)
Events
update:modelValue: Emitted when the value changesselect: 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 |
|---|---|
| vue | ^3.0.0 |
| vuetify | ^3.0.0 |
Development Dependencies
| ID | Version |
|---|---|
| @vitejs/plugin-vue | ^5.0.0 |
| vite | ^5.0.0 |
| vite-plugin-vuetify | ^2.0.3 |
| 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 |