DEV Community

Dzhavat Ushev for This is Angular

Posted on • Originally published at dzhavat.github.io

Using NgModule inside a Standalone Component

Just recorded a short video where I show you how to use a component wrapped in an NgModule inside a component marked as standalone.

This approach allows you to continue using NgModules in your app together with standalone components. This way you can slowly refactor any NgModule-based components to standalone components as you go.

Discussion (0)