Skip to content

Releases: vuejs/vue-class-component

v5.0.0

27 Feb 17:09
Compare
Choose a tag to compare
  • Compatiblity with Vue 2.2.
    • This version now requires setting allowSyntheticDefaultImports to true in TS compiler options.
    • Now recommends using import Vue from 'vue' instead of import Vue = require('vue').

v4.4.0

17 Dec 10:33
Compare
Choose a tag to compare

New

  • #38 Allow to register additional hooks by Component.registerHooks function.
  • #40 Added UMD build (vue-class-component.js) and minified build (vue-class-component.min.js).

Improvements

  • #41 Print warning if using class properties without inherit the Vue object.

v4.3.1

18 Nov 16:01
Compare
Choose a tag to compare

Fix

  • Compatible with native ES2015 class
  • Avoid to collect uninitialized decorated class property as initial data

v4.3.0

18 Nov 16:03
Compare
Choose a tag to compare

New

  • Component initial data are collected from initial class properties
  • Add createDecorator helper