简体   繁体   中英

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

I want to open the form that is located inside the public folder. structure is like that:

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

I tried http://localhost:8080/public/form.pdf, but it says: Cannot GET /public/form.pdf

Solution is by accessing with this url http://localhost:8080/form.pdf

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM