items are listed below:
screenshot 2018-04-04 4.37.25 p.m.
set
in config/index.js
build:{
assetsSubDirectory: "static",
assetsPublicPath: "/",
}
then get logo.png
data(){
return {
logoSrc: require("/static/logo.png")
}
}
npm run dev
result error:
This dependency was not found:
* /static/logo.png in ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/components/login/login.vue
To install it, you can run: npm install --save /static/logo.png
solve.