Menu
CoddyTech

Member Plan Access

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

Build this checkpoint of the Community Workshop Planner.

Continue your previous planner and preserve all catalog, search, reservation, summary and fallback behavior. Protect My plan through metadata and a global guard reading the supplied installed session store. Signed-out visitors reach Login with their intended fullPath in returnUrl. Sign in locally activates the session and replaces Login with the accepted internal target, falling back to /plan for an absent, repeated, non-internal or login-prefixed target. Keep Catalog and details public. Sign out only clears the session flag; the next protected attempt redirects. Show Signed in or Signed out in p#session. This local session is navigation practice, not real authentication.

Keep the supplied route readout and bootstrap files.

Keep the supplied Navigation examples links. On My plan, display query tab or overview in p#plan-tab. The Plan notes link must return to the same query after sign-in; invalid return examples and the plain Sign in link use the fallback.

challenge icon

Challenge

Hard

Continue your previous planner and preserve all catalog, search, reservation, summary and fallback behavior. Protect My plan through metadata and a global guard reading the supplied installed session store. Signed-out visitors reach Login with their intended fullPath in returnUrl. Sign in locally activates the session and replaces Login with the accepted internal target, falling back to /plan for an absent, repeated, non-internal or login-prefixed target. Keep Catalog and details public. Sign out only clears the session flag; the next protected attempt redirects. Show Signed in or Signed out in p#session. This local session is navigation practice, not real authentication.

Keep the supplied route readout and bootstrap files.

Keep the supplied Navigation examples links. On My plan, display query tab or overview in p#plan-tab. The Plan notes link must return to the same query after sign-in; invalid return examples and the plain Sign in link use the fallback.

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>
quiz iconTest yourself

This lesson includes a short quiz. Start the lesson to answer it and track your progress.

All lessons in Routing and State