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

前端 未结 10 1830
悲&欢浪女
悲&欢浪女 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:00

    I'm pretty sure it's similar to Laravel template, this is how I did mine.

    
    

    Referred: CSS file pathing problem

    Simple flask application that reads its content from a .html file. External style sheet being blocked?

提交回复
热议问题