我在全球范围内宣布了一个class A:我还有namespace N,它和其他类型的class A一起使用: class A { }}namespace N { static getA(): A { // here
return new A(); // and here I want to refer global A, not N
我已经在main.js文件中导入了jQuery,但它仍然抛出此错误 Uncaught ReferenceError: jQuery is not defined at eval (navbar.js)我尝试了所有可能的方法在main.js中导入 我在public/index.html文件中使用了jQuery CDN链接,这个错误消失了,但navbar.js文件中的导航栏脚本根本不起作用。/assets/js/popper.min.js'