Skip to content

Commit

Permalink
feat(nuxt3-app): add a dashboard link (SWF-209)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdanilowicz authored and patzick committed Dec 2, 2022
1 parent dd1f162 commit d37cb27
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/stale-steaks-retire.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"vue-demo-store": patch
---

Add a dashboard link to the menu
9 changes: 9 additions & 0 deletions templates/vue-demo-store/layouts/account.vue
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,15 @@ provide("swNavigation-footer-navigation", footerData);
My account
</h1>
<ul class="space-y-2">
<li>
<router-link
to="/account"
class="flex items-center p-2 rounded-lg hover:text-brand-primary hover:bg-gray-100 is-active"
>
<div i-carbon-dashboard text-xl inline-block />
<span class="ml-3">Account Overview</span>
</router-link>
</li>
<li>
<router-link
to="/account/profile"
Expand Down

0 comments on commit d37cb27

Please sign in to comment.