File tree Expand file tree Collapse file tree 4 files changed +6
-5
lines changed Expand file tree Collapse file tree 4 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 1
1
import Vue from 'vue' ;
2
- import { Component } from 'av-ts ' ;
2
+ import { Component } from 'vue-property-decorator ' ;
3
3
4
4
@Component ( {
5
5
components : {
Original file line number Diff line number Diff line change 1
1
import Vue from 'vue' ;
2
- import { Component } from 'av-ts ' ;
2
+ import { Component } from 'vue-property-decorator ' ;
3
3
4
4
@Component
5
5
export default class CounterComponent extends Vue {
Original file line number Diff line number Diff line change 1
1
import Vue from 'vue' ;
2
- import { Component , Lifecycle } from 'av-ts ' ;
2
+ import { Component } from 'vue-property-decorator ' ;
3
3
4
4
interface WeatherForecast {
5
5
dateFormatted : string ;
@@ -12,7 +12,7 @@ interface WeatherForecast {
12
12
export default class FetchDataComponent extends Vue {
13
13
forecasts : WeatherForecast [ ] = [ ] ;
14
14
15
- @ Lifecycle mounted ( ) {
15
+ mounted ( ) {
16
16
fetch ( '/api/SampleData/WeatherForecasts' )
17
17
. then ( response => response . json ( ) as Promise < WeatherForecast [ ] > )
18
18
. then ( data => {
Original file line number Diff line number Diff line change 4
4
"devDependencies" : {
5
5
"@types/requirejs" : " ^2.1.28" ,
6
6
"aspnet-webpack" : " ^1.0.27" ,
7
- "av-ts" : " ^0.7.1" ,
8
7
"awesome-typescript-loader" : " ^3.0.0" ,
9
8
"bootstrap" : " ^3.3.6" ,
10
9
"css-loader" : " ^0.25.0" ,
17
16
"typescript" : " ^2.2.1" ,
18
17
"url-loader" : " ^0.5.7" ,
19
18
"vue" : " ^2.2.2" ,
19
+ "vue-class-component" : " ^5.0.1" ,
20
20
"vue-loader" : " ^11.1.4" ,
21
+ "vue-property-decorator" : " ^5.0.1" ,
21
22
"vue-router" : " ^2.3.0" ,
22
23
"vue-template-compiler" : " ^2.2.2" ,
23
24
"webpack" : " ^2.2.0" ,
You can’t perform that action at this time.
0 commit comments