2.0.1 • Published 7 years ago

vue-class v2.0.1

Weekly downloads
149
License
ISC
Repository
github
Last release
7 years ago

Vue Class

Decorator for building Vue2 & TypeScript2 Component.

Install

npm

npm i vue-class --save

yarn

yarn add vue-class

Usage

app.ts

import render from './app.html';
import { Vue, Component, Watch } from 'vue-class';

@Component({
   render,
   name: 'app',
   props: ['value']
})
class App extends Vue {
   value: number;

   @Watch('value')
   onValueChange(value: number): void {
      console.log(value);
   }
}

Dependences

2.0.1

7 years ago

2.0.0

7 years ago

1.3.13

7 years ago

1.3.12

7 years ago

1.3.11

7 years ago

1.3.10

7 years ago

1.3.9

7 years ago

1.3.8

8 years ago

1.3.7

8 years ago

1.3.6

8 years ago

1.3.5

8 years ago

1.3.4

8 years ago

1.3.3

8 years ago

1.3.2

8 years ago

1.3.1

8 years ago

1.3.0

8 years ago

1.2.1

8 years ago

1.2.0

8 years ago

1.1.0

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago

0.4.0

8 years ago

0.3.4

8 years ago

0.3.2

8 years ago

0.3.1

8 years ago

0.3.0

8 years ago

0.2.2

8 years ago

0.2.1

8 years ago

0.2.0

8 years ago

0.1.0

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago