This repository was archived by the owner on Apr 8, 2020. It is now read-only.
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 11import Vue from 'vue' ;
2- import { Component } from 'av-ts ' ;
2+ import { Component } from 'vue-property-decorator ' ;
33
44@Component ( {
55 components : {
Original file line number Diff line number Diff line change 11import Vue from 'vue' ;
2- import { Component } from 'av-ts ' ;
2+ import { Component } from 'vue-property-decorator ' ;
33
44@Component
55export default class CounterComponent extends Vue {
Original file line number Diff line number Diff line change 11import Vue from 'vue' ;
2- import { Component , Lifecycle } from 'av-ts ' ;
2+ import { Component } from 'vue-property-decorator ' ;
33
44interface WeatherForecast {
55 dateFormatted : string ;
@@ -12,7 +12,7 @@ interface WeatherForecast {
1212export default class FetchDataComponent extends Vue {
1313 forecasts : WeatherForecast [ ] = [ ] ;
1414
15- @ Lifecycle mounted ( ) {
15+ mounted ( ) {
1616 fetch ( '/api/SampleData/WeatherForecasts' )
1717 . then ( response => response . json ( ) as Promise < WeatherForecast [ ] > )
1818 . then ( data => {
Original file line number Diff line number Diff line change 44 "devDependencies" : {
55 "@types/requirejs" : " ^2.1.28" ,
66 "aspnet-webpack" : " ^1.0.27" ,
7- "av-ts" : " ^0.7.1" ,
87 "awesome-typescript-loader" : " ^3.0.0" ,
98 "bootstrap" : " ^3.3.6" ,
109 "css-loader" : " ^0.25.0" ,
1716 "typescript" : " ^2.2.1" ,
1817 "url-loader" : " ^0.5.7" ,
1918 "vue" : " ^2.2.2" ,
19+ "vue-class-component" : " ^5.0.1" ,
2020 "vue-loader" : " ^11.1.4" ,
21+ "vue-property-decorator" : " ^5.0.1" ,
2122 "vue-router" : " ^2.3.0" ,
2223 "vue-template-compiler" : " ^2.2.2" ,
2324 "webpack" : " ^2.2.0" ,
You can’t perform that action at this time.
0 commit comments