micro-zoe / micro-app-demo

micro-app 案例
MIT License
220 stars 124 forks source link

angular 13引入micro-app 报错 #11

Open wangyunteng opened 2 years ago

wangyunteng commented 2 years ago
  1. If 'micro-app' is an Angular component, then verify that it is part of this module.
  2. If 'micro-app' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. 1659340761971
bailicangdu commented 2 years ago
image
wangyunteng commented 2 years ago

1659341261177 @bailicangdu 我是按照流程走的,已经添加了,但是就会报错。尝试在两个不同的angular 13项目使用,都是会报错

bailicangdu commented 2 years ago

能提供一个demo吗

wangyunteng commented 2 years ago

(苦笑不得.jpg) 给你新建demo的时候,发现新的demo是正常的,然后找了一会儿问题,因为开的项目过多,vscode卡到自动重启了,然后发现都好了。 最后发现解决方法: 重启vscode 这边感谢回消息