angular--outlet报错(引用antdesign)
我在angular中引用了antdesign,下面是我的项目结构,在app.component.html中写了


后来发现是因为我在根组件路由模块文件中配置好路由,但是没有在app.module中引入这个路由模块
修改一下
在app.module.ts中引入appRoutingModule

可以复制下面的语句直接用
// route
import { AppRoutingModule } from './app-routing.module';
// routeAppRoutingModule
不报这个错了
菜鸟一枚,欢迎大神指点
本文来自互联网用户投稿,文章观点仅代表作者本人,不代表本站立场,不承担相关法律责任。如若转载,请注明出处。 如若内容造成侵权/违法违规/事实不符,请点击【内容举报】进行投诉反馈!
