I have made some changes and got output Look at below
First You have't add HomeComponent in HomeModule do it first
Here is your Home.module.ts
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { HomeRoutingModule } from './home-routing.module';
import {DashboardModule} from '../dashboard.module';
import { HomeComponent } from "./home.component";
@NgModule({
declarations: [
HomeComponent
],
imports: [
CommonModule,
HomeRoutingModule,
DashboardModule
]
})
export class HomeModule { }
Second change in your HomeRoutingModule added default path
import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { HomeComponent } from "./home.component";
const routes: Routes = [{ path: '', component: HomeComponent }];
@NgModule({
imports: [RouterModule.forChild(routes)],
exports: [RouterModule]
})
export class HomeRoutingModule { }
3 one is exports MenuLateralComponent in DashboardModule
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { DashboardRoutingModule } from './dashboard-routing.module';
import {MenuLateralComponent} from '../menu-lateral/menu-lateral.component';
@NgModule({
declarations: [
MenuLateralComponent
],
imports: [
CommonModule,
DashboardRoutingModule
],
exports: [MenuLateralComponent]
})
export class DashboardModule { }
now refresh your stackblitz browser.
you will be able to see below output

hope above code will help you
let me know if you have any issue
thanks