jquery - 如何在 Angular 8 中添加 jqxEditorModule
问题描述
我正在尝试通过以下链接来实现 Angular HTML 编辑器:https ://www.jqwidgets.com/angular/angular-editor/angular-editor-defaultfunctionality.htm
但我收到错误:
import * as jqxEditorModule from 'jqwidgets-ng/jqxeditor'
这是代码和错误的参考截图:
我已经下载jqwidgets
并粘贴了nodemodules
。我还运行了以下命令进行安装:
npm install jqwidgets-scripts --save
npm info jqwidgets-framework
但我仍然收到错误。
解决方案
你看过这个:Angular Docs 的 jqxEditor吗?它展示了如何开始使用 jqxEditorComponent 并导入它。
推荐阅读
- linux - Shell 命令显示不同的行为.. 在终端与运行 scipt
- exception - 如何通过中间件从控制器(或服务)捕获异常?
- javascript - 我正在尝试运行 gulp serve 并说“未找到 gulpfile”。我是 Nodejs 的新手。我不知道我的吞咽路径是否错误
- r - 按值识别 json 键并提取所有匹配项
- python - 如何为按面积(1/面积)定义的 voronoi 多边形着色?
- python - 从 http 请求流式传输二进制音频数据以进行 librosa 分析
- python - 从 HTML/Flask 运行 Python 函数
- python - 使用 wikicorpus 训练的 doc2vec 模型的新句子
- c++ - 如何声明可以执行赋值操作的函数?(C++)
- python-3.x - 如何定义时间相关的离散参数?