angular-university/angular-ssr-course

App Module: Invalid imports in 1-start branch

Opened this issue · 1 comments

app.module.ts imports the below even when there is not 'Directives' folder in the '1-start' branch

import {AppShellRenderDirective} from "./directives/app-shell-render.directive";
import {AppShellNoRenderDirective} from "./directives/app-shell-norender.directive";

yes i faced the very same situation. Just go ahead and remove those imports and the directives from the declarations array. If you follow the course, those directives will be created and added to the app.module.ts.
Of course this should ideally be fixed by a PR or something so that other students don't experience this issue when freshly cloning the repo