In the Vue (3.4) application, I created a robots.txt file at the root of the folder. I have deployed my website with a robots.txt file but when I enter the URL https://www.example.com/robots.txt/ it cannot be found and I get a 404 error message.
P粉9519143812023-09-10 13:17:18
Put the robots file into the public
folder. You should put any files you want to access into the build output (production). read
P粉0025464902023-09-10 13:08:34
You need to put this into your public folder. Only the contents of this folder can be accessed directly from the network. Hence why the css/js files are there