angular no provider for Component

import { homeComponent } from './home/home.component';
@Component({
  selector: 'app',
  providers: [homeComponent]
})
posted @ 2018-07-26 09:17  桦园  阅读(339)  评论(0编辑  收藏  举报