parent
8888f809b3
commit
7f09b32e3d
@ -1,14 +1,14 @@
|
||||
# 라우팅 개선
|
||||
|
||||
## Instructions
|
||||
## 설명
|
||||
|
||||
The routes declaration contains currently only the template ID to use. But when displaying a new page, a bit more is needed sometimes. Let's improve our routing implementation with two additional features:
|
||||
|
||||
- Give titles to each template and update the window title with this new title when the template changes.
|
||||
- Add an option to run some code after the template changes. We want to print `'Dashboard is shown'` in the developer console every time the dashboard page is displayed.
|
||||
|
||||
## Rubric
|
||||
## 평가 기준
|
||||
|
||||
Criteria | Exemplary | Adequate | Needs Improvement
|
||||
기준 | 모범 답안 | 적당한 답안 | 개선이 필요한 답안
|
||||
--- | --- | --- | ---
|
||||
| The two features are implemented and working. Title and code addition also work for a new route added in the `routes` declaration. | The two features work, but the behavior is hardcoded and not configurable via the `routes` declaration. Adding a third route with title and code addition does not work or works partially. | One of the features is missing or not working properly.
|
||||
|
Loading…
Reference in new issue