Vue引用图片的三种方式
<template>
<img :src="imgUrl" />
</template>
在script中设置变量
<script>
//方法1.直接将图片引入为模块
require imgUrl from
<template>
<img :src="imgUrl" />
</template>
在script中设置变量
<script>
//方法1.直接将图片引入为模块
require imgUrl from