Menu
CoddyTech

Recap: Equipment Routes

Part of the Routing and State section of Coddy's Vue journey. Lesson 15 of 55.

challenge icon

Challenge

Medium

Build the equipment detail route /equipment/:code named item. The supplied catalog maps lamp to Desk lamp and stand to Book stand. Show a known title in h2#view or p#missing with Item unavailable, never both. Always show the current code in p#code. Keep a local bound note input#note in the detail component while navigating among codes. The supplied named links include missing code clock.

Keep the supplied route readout and bootstrap files.

Try it yourself

<!doctype html><html><head><meta charset="UTF-8"><title>Routing practice</title></head><body><div id="app"></div><script type="module" src="./main.js"></script></body></html>

All lessons in Routing and State