npm run build之后的img地址错误
yanpengfei opened this issue · comments
闫鹏飞 commented
<img src="../xxx.png">
npm run build之后:
<img src='/dist/dist/xxxxx.png">
请问如何解决?
闫鹏飞 commented
说错了,是background里的地址,但是有的就没事。
闫鹏飞 commented
没办法,直接引用了网络地址
A base vue project with webpack
yanpengfei opened this issue · comments
<img src="../xxx.png">
npm run build之后:
<img src='/dist/dist/xxxxx.png">
请问如何解决?
说错了,是background里的地址,但是有的就没事。
没办法,直接引用了网络地址