所有的结果都是一样的。在这个新的子node_modules中,创建了许多文件夹,例如acorn、array-uniq、lodash。总而言之,NPM并没有安装软件包,而是下载了许多软件包,并将它们放在quill-image-resize-module中的一个新文件夹中。因此,我无法导入该包。import ImageResize from 'quill-image-resize-module'
这会导致错误。包确实存在,但它没有文件。它有另一个子文件夹,里面有许多其他的
我按照基本步骤来建立ngx-quill。经过一些研究,我还安装了ngx和quill。但我还是会犯同样的错误。
ERROR in Directive QuillEditorBase in .../node_modules/ngx-quill/ngx-quill.d.ts has no selector, please add it!我简单地和<quill-editor></<em