Currently experimenting with creating a dialog modal using the tutorial found at https://github.com/gopinav/Angular-Material-Tutorial/tree/master/material-demo/src/app, specifically referring to the dialog-example and dialog folder.
However, upon testing it on my localhost, I encountered the following error:
No component factory found for ModalComponent. Have you included it in @NgModule.entryComponents?
I have divided the code as follows:
nav.html
<nav class="navbar navbar-expand-lg navbar-light bg-light">
// Code snippet here
</nav>
nav.ts
// Code snippet here
And for the modal:
modal.html
// Code snippet here
modal.ts
// Code snippet here
Is there something that I may have overlooked which is causing this error message to appear?