Application not picking up .css file (flask/python)

前端 未结 10 1827
悲&欢浪女
悲&欢浪女 2020-11-28 03:54

I am rendering a template, that I am attempting to style with an external style sheet. File structure is as follows.

/app
    - app_runner.py
    /services
          


        
10条回答
  •  一向
    一向 (楼主)
    2020-11-28 04:08

    Still having problems after following the solution provided by codegeek:
    ?

    In Google Chrome pressing the reload button (F5) will not reload the static files. If you have followed the accepted solution but still don't see the changes you have made to CSS, then press ctrl + shift + R to ignore cached files and reload the static files.

    In Firefox pressing the reload button appears to reload the static files.

    In Edge pressing the refresh button does not reload the static file. Pressing ctrl + shift + R is supposed to ignore cached files and reload the static files. However this does not work on my computer.

提交回复
热议问题