导入流星客户端应用程序中的jquery npm包
问题描述:
我尝试导入jquery
npm包(它已经安装在项目中)而不是atmospherejs包,但我想将它导入整个客户端部分。我使用需要jquery的btws:bootstrap
(与其他许多人)。导入流星客户端应用程序中的jquery npm包
我该如何设法做到这一点?
答
我建议你在npm中同时使用Bootstrap和jQuery。
这样做:
$ meteor remove twbs:boostrap
$ meteor npm install --save bootstrap
$ meteor remove jquery
$ meteor npm install --save jquery