Answer the question
In order to leave comments, you need to log in
How to import a module correctly?
There are ui components, I export them in a moduleUiModule
const components = [
// компоненты
]
exports: [
...components,
],
declarations: components
UiModule
I want to import the
module itself into CoreModule
CoreModule
, I did it, but now the error asks to connect it everywhere UiModule
Answer the question
In order to leave comments, you need to log in
@NgModule({
exports: [
UiModule
],
})
export class CoreModule { }
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question