# @ptl-mt/ptl-vue-common

> Reusable Vue 3 UI components built on PrimeVue: typed, production-ready primitives you can drop into Vite, Nuxt, or any Vue app.

Latest version **1.0.6** (published 2026-06-30) · MIT license · 0 weekly downloads

## Install

```sh
npm install @ptl-mt/ptl-vue-common
pnpm add @ptl-mt/ptl-vue-common
yarn add @ptl-mt/ptl-vue-common
bun add @ptl-mt/ptl-vue-common
```

## Health

**Score 60/100 (C)** — status: active.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 1.0.6 |
| Published | 2026-06-30 |
| First published | 2026-06-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 1 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | licensesptlmt |
| Keywords | vue, components, datatable, primevue, typescript |

## Links

- npm: https://www.npmjs.com/package/@ptl-mt/ptl-vue-common
- npm.io page: https://npm.io/package/@ptl-mt/ptl-vue-common

## Recent versions

- 1.0.6 (latest) — 2026-06-30

## README

# PTL Vue Common

Reusable Vue 3 components built with TypeScript and PrimeVue.

## Install

```sh
npm install ptl-vue-common vue primevue primeicons
```

## Use

```ts
import { DataTable, Form, NotificationProvider, useNotifications } from 'ptl-vue-common';
import 'ptl-vue-common/styles.css';
```

## Local Package Build

```sh
npm ci
npm run lint
npm run test:run
npm run build
npm pack
```

`npm pack` creates a `.tgz` file that can be installed into another app:

```sh
npm install ./ptl-vue-common-1.0.0.tgz
```

## Publish

Make sure you are logged into npm or have `NODE_AUTH_TOKEN` set, then run:

```sh
npm version patch
npm publish
```

Use `npm version minor` for new backward-compatible features and `npm version major` for breaking changes.

## Azure DevOps Releases

The pipeline validates every push to `main` and every PR to `main`.

Publishing to npm only happens when a version tag is pushed:

```sh
npm version patch
git push
git push --tags
```

Create an Azure DevOps secret variable named `NPM_TOKEN` containing an npm automation token.

---
_Source: https://npm.io/package/@ptl-mt/ptl-vue-common · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
