[Vuejs]-Vuejs cannot display image from assets folder

0👍

Ultimately you want your image to look like this

<img src="assets/characters/superLadyHead.png">

Change your character image source strings to reflect the following

export const character = [
  {
    name : 'Super Lady',
    fullImage : 'assets/characters/superLadyFull.png',
    headImage : 'assets/characters/superLadyHead.png',
    description : '少し恥ずかしがり屋の女の子 好きなことは買い物、カフェ巡り'

  }
]

However, this makes some assumptions about how your page is being served.

Leave a comment