problem description
I created the project using vue-cli 3.0. after build, I uploaded the folder to the server. When I reported an error in css file 404, I saw that Daniel said to create a vue.config.js, in the root directory. Which parameter can solve this problem?
the environmental background of the problems and what methods you have tried
I also tried to create vue.config.js, and modify baseUrl:". /"; then after adding it to the server, I still couldn"t find the css file. I looked at the packaged code again, and the code remained the same
.related codes
/ / Please paste the code text below (do not replace the code with pictures)
module.exports = {
baseUrl: "./"
}
what result do you expect? What is the error message actually seen?
you can see the final effect of packaging on the server