What should be the correct path for python flask's static_floder?

the directory under the packaged dist file of vue looks like this:

clipboard.png

python:


index.html

clipboard.png

but if it is normal to open index.html in dist directly in the browser, it means that there should be nothing wrong with the introduction path of static files? Is the value of static_folder written wrong?

Mar.29,2021

The static file of

flask requires you to import one by one using the url_for () function. You can refer to my project

1, https://github.com/eastossifr. this is the templates folder and static folder of the blueprint settings.
2, https://github.com/eastossifr.
this is a call static file, such as js, css, and img files.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3ec86-409ca.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3ec86-409ca.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?