Updating the Bootstrap file
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';
Tip
Please notice that we don't need to mention the extension (.ts
) for the file we are importing.
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...