@ alias设置

background: url("../../../assets/pre-registration/web/part10_title.png")
background: url("~@/assets/pre-registration/web/part10_title.png")

在style里可以用这种方式 访问 图片 就不用一层层写路径了

~@/assets

原文地址:https://www.cnblogs.com/catherLee/p/12752846.html