Giter Site home page Giter Site logo

Comments (5)

jhyland avatar jhyland commented on May 20, 2024

I am experiencing this issue as well. My current work around is to include js as such.

{% block head %}
{{super()}}
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
    <script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
{% endblock %}

from flask-bootstrap.

mbr avatar mbr commented on May 20, 2024

This usually happens if you forget a super() (which you probably haven't, seeing that that is your workaround) or if you use the wrong block (i.e. body when you should be using content). Flask-bootstrap loads the javascript source at the end of the <body> block, not inside <head>.

from flask-bootstrap.

jhyland avatar jhyland commented on May 20, 2024

Ahh yes... I was mis-using the block contents. Sorry for the misunderstanding and thank you for the great project.

from flask-bootstrap.

lestortues67 avatar lestortues67 commented on May 20, 2024

Hello, i found this post interesting. Thank you.

from flask-bootstrap.

ashwinprabhukp avatar ashwinprabhukp commented on May 20, 2024

This post helped me, thanks!

from flask-bootstrap.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.