Flask Application - How to link a javascript file to website

前端 未结 4 802
情深已故
情深已故 2020-12-15 05:35

I am having some trouble getting started with using javascript files on my website (A Flask application). I start the website by running run.py which looks like this:

<
4条回答
  •  情歌与酒
    2020-12-15 06:07

    Try using src="app/javascript/jquery.js".

    Also, I noticed you include jquery.js twice - on line 7 and 28.

提交回复
热议问题