Pycharm 中如何导入jQuery库
按如下步骤,在pycharm中进行操作:
【Settings】-【Language & Frameworks】-【JavaScript】-【Libraries】
之后点击下载,选中jquery包进行安装
如果在下载时报了如下错误:
Cannot download
https://github.com/DefinitelyTyped/DefinitelyTyped/raw/master/types/jquery/JQuery.d.ts.
Cannot download
'https://github.com/DefinitelyTyped/DefinitelyTyped/raw/master/types/jquery/JQuery.d.ts': raw.githubusercontent.com
说明pycharm自带的jQuery下载地址没法访问,
那我们可以现在代码里按如下地址导入jquery
<script