Install yarn (it should work with npm as well). Then install project dependencies (yarn
or npm install
) and run the dev server via ng serve
.
Afterwards:
- Open http://localhost:4200.
- Hover over the rectangle - nothing happens.
- Click on the "Text" route.
- Click on "Home" or just press the browser back button to go back to the home page.
- Hover over the rectangle again - it changes its color.