angular-ssr-course icon indicating copy to clipboard operation
angular-ssr-course copied to clipboard

App Module: Invalid imports in 1-start branch

Open tgavara opened this issue 1 year ago • 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";

tgavara avatar Jul 05 '23 05:07 tgavara

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

faridhajnal avatar Jul 12 '23 00:07 faridhajnal