Now before checking the results in the browser, there are a few updates that we need to do. First, open the app.modules.ts
file inside the src/app
folder and notice the import lines. The red color for the imported class means it does not exist:
import {About} from './about/about';
That is right, because we removed all previous definitions in the seed project, so remove all troubled lines. That includes the following imports:
import {About} from './about/about'; import {Home} from './home/home'; import {RepoBrowser} from './github/repo-browser/repo-browser'; import {RepoList} from './github/repo-list/repo-list'; import {RepoDetail} from './github/repo-detail/repo-detail';
When you do so, the 'Declarations' start to complain. So remove all missing elements from that line, too. After all of these changes, the app.modules...