The src attribute in the v-img component of Vue Vuetify cannot use relative paths directly

A problem that occurs when using Vuetify is that the src attribute cannot be set directly to the v-img tag. At present, the solution we found is to use : src= "require ("relative path")" to load pictures correctly. We want to know whether we can directly set the relative path of pictures and let webpack be automatically added when packing instead of the current manual introduction.

  https://vue-loader-v14.vuejs.

						
Oct.08,2021
Menu