@ptl-mt/ptl-vue-common
v1.0.6
Published
Reusable Vue 3 UI components built on PrimeVue: typed, production-ready primitives you can drop into Vite, Nuxt, or any Vue app.
Maintainers
Readme
PTL Vue Common
Reusable Vue 3 components built with TypeScript and PrimeVue.
Install
npm install ptl-vue-common vue primevue primeiconsUse
import { DataTable, Form, NotificationProvider, useNotifications } from 'ptl-vue-common';
import 'ptl-vue-common/styles.css';Local Package Build
npm ci
npm run lint
npm run test:run
npm run build
npm packnpm pack creates a .tgz file that can be installed into another app:
npm install ./ptl-vue-common-1.0.0.tgzPublish
Make sure you are logged into npm or have NODE_AUTH_TOKEN set, then run:
npm version patch
npm publishUse 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:
npm version patch
git push
git push --tagsCreate an Azure DevOps secret variable named NPM_TOKEN containing an npm automation token.
