Answer the question
In order to leave comments, you need to log in
vuex class + typescript decomposition?
export default class User extends VuexModule {
public details: UserDetails;
constructor(details: UserDetails){}
}
export default class UserDetails extends VuexModule {
public name: string;
constructor(name:string){}
}
const modules = {
user,
userDetails
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