Problems with using Customized Bulma with Flask

53 Views Asked by At

I keep getting the error "GET /css/mystyles.css HTTP/1.1" 404 - when I try to run my Flask project with a customized Bulma. How I'm linking the stylesheet in index.html:

<link rel="stylesheet" href="css/mystyles.css">

directory

This is the Bulma documentation I followed to set up a customized Bulma: https://bulma.io/documentation/customize/with-node-sass/

I've tried moving the css folder into the templates folder, but it doesn't do anything.

The project does work if I'm using just Bulma without any customizations by just linking the Bulma CSS file like in this documentation: https://bulma.io/documentation/overview/start/

<link
      rel="stylesheet"
      href="https://cdn.jsdelivr.net/npm/[email protected]/css/bulma.min.css"
    />
0

There are 0 best solutions below