Skip to content

Commit

Permalink
feat: add cart icon
Browse files Browse the repository at this point in the history
  • Loading branch information
schirrel committed Sep 2, 2021
1 parent f36a55a commit c6c88d1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/Navbar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<v-spacer></v-spacer>
<div>HI, {{ user.name.last }}</div>
<Logout class="ml-2" />
<CartIcon />
<v-menu
absolute
offset-y
Expand All @@ -24,13 +25,14 @@
<script>
const Profile = () => import("profile/Profile");
const Logout = () => import("auth/Logout");
const CartIcon = () => import("cart/CartIcon");
import { emitter, EVENT_KEYS, userData } from "../dealful";
export default {
name: "Navbar",
data: () => ({ drawer: null, user: userData() }),
components: { Profile, Logout },
components: { Profile, Logout , CartIcon },
methods: {
menuToggle() {
this.$emit("menuToggle");
Expand Down

0 comments on commit c6c88d1

Please sign in to comment.