You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@mikeal Regarding the second step, note that I already made a conditional button that can bounce you back to the index if it's the last lesson in the series. However, it requires manually passing a last: 'true; in the right lesson of each series when you develop it. The commit is part of this PR that's awaiting another review before being merged.
I don't yet know enough about routing and Vue to tackle the first step, which I agree would be a more elegant solution (auto-detecting the number of lessons in the series), but I'm happy to attempt that once I'm more familiar.
terichadbourne
changed the title
chore: Migrate routing to a "Lesson Route"
feature: Migrate routing to a "Lesson Route"
Nov 9, 2018
Update: You no longer have to add last: true in the last lesson of the series. The button code can correctly determine whether you're in the last lesson without that now. You do still have to create a route for each lesson in the current setup, so this issue is still open, to be addressed after 1.0.
Right now, you have to manually add a route for every step in your lesson.
We should move to a more dynamic route that:
The text was updated successfully, but these errors were encountered: