Question : Cannot find module at webpack Context Resolve vue
Answered by : agreeable-aardvark-awvd1gekpnax
<img width="100px" height="100px" :src="userWithIcon.icon">
Source : https://stackoverflow.com/questions/61493854/vue-js-error-cannot-find-module-undefined-from-webpack-when-using-src-requ | Last Update : Thu, 20 Jan 22
Question : Cannot find module at webpack Context Resolve vue
Answered by : agreeable-aardvark-awvd1gekpnax
computed: { userWithIcon () { return { ...this.user, icon: this.user.icon && require(`../assets/imgs/${this.user.icon}`) } }
}
Source : https://stackoverflow.com/questions/61493854/vue-js-error-cannot-find-module-undefined-from-webpack-when-using-src-requ | Last Update : Thu, 20 Jan 22