How can we resolve a template URL relative to a Component class?

858    Asked by RuthLambert in Python , Asked on Jan 22, 2020
Answered by Ruth Lambert

Through specifying the moduleId to be in the Component decorator. (Note: while this is still required if we are using SystemJS, it is not essential anymore when utilizing Webpack module bundler for Angular 2 applications).

Your Answer


Parent Categories