I am trying to add an image to the img-src="" attribute of b-carousel in BoostrapVue.
(我正在尝试将图像添加到BoostrapVue中b-carousel的img-src =“”属性中。)
The image is currently saved in the asset folder.(该图像当前保存在资产文件夹中。)
<b-carousel-slide img-src="../assets/life.jpg"> <h1>Hello world!</h1> </b-carousel-slide>
I have added Find below images of the result:
(我在结果中添加了以下查找图像:)
I am certain the images are correctly saved in the right location:
(我确定图像已正确保存在正确的位置:)
ask by Iamlimo translate from so
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…