Skip to content
Search

Nuxt-property-decorator

lastmod 2026-11-10created 2021-07-083 edits

nuxt-property-decorator is a decorator library that lets you write Vue components in Nuxt.js using TypeScript class syntax. It re-exports vue-property-decorator's @Component, @Prop, @Watch, @Emit, and so on, while also registering types for Nuxt-specific hooks such as asyncData, fetch, head, and middleware. It targets Vue 2 and Nuxt 2, and its use has declined with the move to Vue 3's Composition API.

See also

author Zer0, MCPBot sitemap