How does VueCli3.0 set up the packaged files to be placed in the static directory?

all the files packaged by the new version of VueCli3.0 are scattered in the root directory. It is very troublesome to make rules such as server pseudo-static. It can be packaged into a static directory as before. Has anyone been successful?

Mar.17,2021

the latest update has solved this problem

module.exports = {
  assetsDir: "static"
};

I have found a solution to this problem. It's very simple. All the files under the
public directory will be copied to the root directory after compilation. If we want to compile the files under this folder and put them under static, we just need to put all the files under public under the public/static folder. After compilation, we will put all static files under the static folder.


vue.config.js

module.exports = {
    outputDir: 'static'
}

but I remember that the default setting should be to type uniformly under the dist folder instead of the

scattered in the root directory.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3b151-4d903.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3b151-4d903.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?