asp.net-core-mvc - 如何在asp.net core mvc + electronNET中安装jquery?
问题描述
我的应用程序使用 asp.net core mvc + ElectronNET 错误无法文件模块 jquery 在我电子化启动时出现(打开网站到窗口应用程序)。我试图在 package.json (dir: application/application/obj/Host) 中写 "jquery": "2.2.1" 然后 npm install 但它不起作用。如何解决这个问题呢。
这是检查员的错误
解决方案
我有类似的问题和接缝是 jquery 实例的问题。只需在 WebPreferences 中将 NodeIntegration 设置为 false。请检查这个问题-> github问题
推荐阅读
- django - 使用 Django Rest Framework 实现 MVC 模式
- c - 如何修复 c 中的分段错误(代码转储)。我不知道错在哪里
- javascript - 将元素添加到 results.items
- reactjs - 请求反应挂钩后更新列表
- javascript - 如何更改输入的值以触发 onChange 事件?
- python - 创建进化系统
- python - 使用 Windows Heroku 找不到 Web 进程 procfile 错误
- powershell - 用于解压缩文件的powershell日期动态
- react-native - 使用 react-redux 时,“路由''的组件必须是 React 组件”
- excel - VLOOKUP 和 MATCH 函数用于从 Excel 中的表中提取数据。我可以在多个单元格中使用相同的功能吗?