import from “assets/audio.mp3” doesn't work

前端 未结 0 1820
闹比i
闹比i 2021-01-20 08:18

When trying to import an MP3 file, like so:

import audioSrc from "assets/audio.mp3";

I get the following error:

TS27         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题