What is the proper way of importing transloco module? #399
Unanswered
kumar-tadepalli
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As part of transloco installation: https://ngneat.github.io/transloco/docs/installation transloco-root.module.ts will be created and imported in the app module.
If I have a shared module and is being imported in the lazy loaded feature module. I need to import translocoModule in shared module to use the transloco pipe/services in lazy loaded module.
Is this correct way of doing or am I missing anything.
Do we have forRoot(), forChild() functions?
Just want to know right way of importing module without duplication.
Beta Was this translation helpful? Give feedback.
All reactions