Cannot find module at webpack Context Resolve vue
computed: { userWithIcon () { return { ...this.user, icon: this.user.icon && require(`../assets/imgs/${this.user.icon}`) } } }
Source: stackoverflow.com
Cannot find module at webpack Context Resolve vue
<img width="100px" height="100px" :src="userWithIcon.icon">
Source: stackoverflow.com