rt. Background-image is used in
style.
a {
display: inline-block;
background-image: url("../assets/img/editor.png");
background-repeat: no-repeat;
width: 30px;
height: 30px;
border: 5px solid -sharpfff;
background-size: 380px 60px;
overflow: hidden;
text-indent: 110%;
&:hover {
background-position-y: -40px;
}
}
config.vue.js change publicPath to dist
module.exports = {
lintOnSave: false,
publicPath: "/dist/",
css: {
extract: false
}
}
but after release, after npm install
cannot get the picture.
Project address