// vue.config.js
module.exports = {
...
// 加入下面这行即可,如果加到最后,需要把逗号去掉。
assetsDir:"static",
...
}
npm run build
ls dist
favicon.ico index.html static
// vue.config.js
module.exports = {
...
// 加入下面这行即可,如果加到最后,需要把逗号去掉。
assetsDir:"static",
...
}
npm run build
ls dist
favicon.ico index.html static