Problems importing JS files in flask

0

I am using a package called flask_material to be able to use materialize in my flask project, and it loads perfectly the css and the components that I use, however when importing my JS file it is in which I have to import the init of my components, and my file materialize.min.js the console sends me the following error.

  

Failed to load resource: the server responded to a status of 404 (NOT FOUND)

{% block scripts %}
{{ super() }}
<script type="text/javascript" src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
<script type="text/javascript" src="../static/materializejs/materialize.min.js"></script>
<script src="../static/materializejs/script.js" charset="utf-8"></script>
{% endblock %}

This is the way I'm importing them into my html template.

    
asked by ulysses316 23.09.2018 в 06:42
source

0 answers