webliyang
Results
3
comments of
webliyang
用require
@EarlEcho template的div中 :style="bgcstyle" data中 bgcstyle:{} mounted 函数中 this.bgcstyle = {'background-image': "url(" + require("./assets/bg.png") + ")"}
在build/utils.js中加上publicPath 