Vue template Code
src/ooxx/ooxx/xx.vue
assets
File location:assets/img/tt.png
OK
Code:img src='@/assets/img/tt.png'
Become:
img src="/img/tt.f3b936ef.png"
Failed
Code:img src='@/img/nchcbclab.png'
img src='assets/img/tt.png'
img src='./assets/img/tt.png'
img src='../assets/img/tt.png'
img src="require('assets/img/tt.png') "
img src="require('./assets/img/tt.png') "
img src="require('../assets/img/tt.png') "
public
File location:public/img/tt.png
OK
Code:img src= '/img/nchcbclab.png'
Become:
img src= '/img/nchcbclab.png'
Failed
Code:img src= 'img/nchcbclab.png'
img src= 'public/img/nchcbclab.png'
img src='/public/img/nchcbclab.png'