8. Render header and footer
8.1. “Stash” our previous edits
We need to configure Git to allow us to “stash” the changes we make so we can move from branch to branch.
Copy and paste the following commands in the Glitch console:
- Add fake user data to the git configuration and “stash” changes
git config --global user.email "you@example.com" && git config --global user.name "Your Name" && git stash
8.2. Checkout branch 2
Let’s “checkout” the next stage of our front end application to work with real code.
Copy and paste the following commands in the Glitch console:
- Checkout branch 2
git checkout 2
- Refresh the Glitch file system to see branch 2
refresh
8.3. Follow along with the instructor
Let’s render our app’s header and footer!
- Register components in App.vue
- Edit header list data
- Edit footer link data