簡體   English   中英

如何從 URL 訪問 Quasar 中公共文件夾中的文件?

[英]How to access a file inside the public folder in Quasar from the URL?

我想打開位於公用文件夾內的表單。 結構是這樣的:

-public
----icons
----form.pdf
-src

我嘗試了 http://localhost:8080/public/form.pdf,但它說: Cannot GET /public/form.pdf

解決方案是通過訪問此 url http://localhost:8080/form.pdf

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM