ERROR in : 'quill-editor' is not a known element:

网友投稿 962 2022-10-01

ERROR in : 'quill-editor' is not a known element:

ERROR in : 'quill-editor' is not a known element:

今天在运行build ng程序的时候,遇见了下面的错误:

ERROR in : 'quill-editor' is not a known element:1. If 'quill-editor' is an Angular component, then verify that it is part of this module.2. If 'quill-editor' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. (" [ERROR ->]

解决方法

npm install ng-quillnpm install angular angular-sanitize quillnpm install ngx-quill-editor --save

import { QuillModule } from 'ngx-quill';@NgModule({ imports: [ QuillModule, ]})

参考文献

[1]. Angular not a known element error. ​​https://stackoverflow.com/questions/47002510/angular-not-a-known-element-error​​

[2]. ng-quill. ​​https://npmjs.com/package/ng-quill​​

[3]. ngx-quill-editor. ​​https://npmjs.com/package/ngx-quill-editor​​

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:怎么查看自己电脑安装的小程序(小程序怎样在电脑上打开查看)
下一篇:小程序如何实现页面跳转(小程序如何实现页面跳转功能)
相关文章

 发表评论

暂时没有评论,来抢沙发吧~