Vue file download

vue front end directly put files in the folder, download directly, always fail, what is the reason? What is the solution without relying on the background? Keep prompting failure-No file found

< a href="./demo-app/dist/static/test.csv" download>rrr</a >
Dec.16,2021

 "<a href="./demo-app/dist/static/test.csv" download>rrr</a>"

if the file is placed under the static file of the web project, add a tag directly in the project Click to download . Even if the project is packaged or changed, there is no need to change the road strength

Menu