About the problem of vue configuring iis Server

I recently used vue to develop a project and deploy the project to the server, which uses the iis management site
. Then I use the configuration method of the official website to find that it is normal for me to write static and index.html in the same directory as web.config, but when I create a content directory and a dist directory, I put static and index under dist, but I can"t run at this time. No matter how I configure it, there is always a problem
which god can help me solve this problem? thank you

Jan.08,2022

the dev environment can run and build, and then point the site directory to the dist, generated by build requires no other action.

Menu