小编zq0*_*010的帖子

在webpack中为bootstrap指定jQuery

在我的项目中,我想导入Bootstrap,但它依赖于jQuery.

require('jquery/dist/jquery.min'); 
require('bootstrap/dist/js/bootstrap.min');
Run Code Online (Sandbox Code Playgroud)

当我使用Webpack处理此项目时,它会导致错误:

Uncaught Error: Bootstrap's JavaScript requires jQuery
Run Code Online (Sandbox Code Playgroud)

如何为Bootstrap指定jQuery?

webpack

12
推荐指数
2
解决办法
8560
查看次数

'在Chrome中调试'不能用于本机的反应原因

当我在emulator64-x86中打开官方演示时,它加载成功,然后我按'F2',然后在弹出窗口中单击'在Chrome中调试',我的chrome浏览器打开' http:// localhost:8081/debugger- ui '自动',但它不会加载我的项目作为模拟器.我在控制台中收到一些警告,如下所示:

Warning: Native component for "RCTModalHostView" does not exist
Warning: Native component for "RCTTextView" does not exist
Warning: Native component for "RCTTextField" does not exist
Running application "AwesomeProject" with appParams: {"initialProps":{},"rootTag":1}. __DEV__ === true, development-level warning are ON, performance optimizations are OFF
Unknown method: undefined
Run Code Online (Sandbox Code Playgroud)

有没有人有这些问题?怎么解决?提前致谢.

debugging android react-native

2
推荐指数
1
解决办法
1912
查看次数

标签 统计

android ×1

debugging ×1

react-native ×1

webpack ×1