Answer the question
In order to leave comments, you need to log in
Best way to initialize default values?
one
export default class App extends Vue {
private title: string = 'My Vue and CosmosDB Heroes App';
constructor() {
super();
}
export default class App extends Vue {
private title: string;
constructor() {
super();
this.title = 'My Vue and CosmosDB Heroes App';
}
export default class App extends Vue {
private title: string;
constructor() {
super();
}
mounted(){
this.title = 'My Vue and CosmosDB Heroes App';
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question