If you want a NoModuleComponent to be rendered by the router without ngModule, you should change it to a Standalone Component. This is a best practice recommended by Angular for modern development.