How Vue connects URL directly to a file

RT, I want to establish a route to connect directly to a txt file. Others can access the contents of the file directly through a URL. For example, you can:

curl "http://127.0.0.1:3000/-sharp/config/txt"

this allows you to return the contents of txt directly in the console.

Mar.14,2021

use the a tag href to link the file address, and
output in the console.

Menu