The dist folder generated after vue-cli+webpack executes npm run build, can you upload the files in this folder directly?

I"ve been learning vue for some time, and it"s good to use it for simple project exercises. I just have a question for the time being. Such as the title, is that so? Do you need to pay attention to anything backstage? I have not done anything like this, but only run it locally. I hope you can talk about it

.
Mar.07,2021

Yes, just upload the dist to the server.
can access dist/index.html. Of course, it is possible that you will encounter any relative path-related problems, so just go. It's not a thing.


the packaged files are uploaded directly. If the route is in history mode, or is not in the root directory, you need to modify some configurations. You can refer to my article . If you have any questions, you can continue to communicate!

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-1be2085-30d41.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-1be2085-30d41.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?