Highlights
- Modernized dev toolchain: Vite 8, Vitest 3.2+, oxlint, oxfmt
- Library build simplified to a single ES module output with
vite-plugin-dts - CI updated for Node 20/22
Breaking changes
- ES module only — use
import { pageTitle } from 'vue-page-title' - Removed UMD, CJS, and IIFE builds
- Removed
main,unpkg, andjsdelivrpackage fields - Entry point is now
exports.import→dist/index.js - Node.js 20.19+ required for development and CI
Migration from v2
import { pageTitle } from 'vue-page-title';If you loaded the library from a CDN via unpkg/jsdelivr, switch to a bundler-based setup or stay on v2.x.
Full details: https://github.com/vinicius73/vue-page-title#migration-from-v2