Skip to content

Commit

Permalink
fix: node error (#238)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdanilowicz authored Jun 6, 2023
1 parent c7c5fa7 commit 0a44331
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 12 deletions.
5 changes: 5 additions & 0 deletions .changeset/lovely-pots-begin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"vue-demo-store": patch
---

Remove ref from the menu element (temporary)
22 changes: 11 additions & 11 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,14 @@ onClickOutside(menuHtmlElement, () => (currentMenuPosition.value = null));
<template>
<!-- eslint-disable vue/no-v-html -->
<nav class="hidden lg:flex space-x-4 items-center">
<!--
ref="menuHtmlElement" was removed because of nuxt/vue bug
https://github.com/nuxt/nuxt/issues/13309
-->
<div
v-for="navigationElement in navigationElements"
:key="navigationElement.id"
ref="menuHtmlElement"
class="relative hover:bg-gray-50 hover:rounded-lg"
@mouseover="currentMenuPosition = navigationElement.id"
>
Expand Down

2 comments on commit 0a44331

@vercel
Copy link

@vercel vercel bot commented on 0a44331 Jun 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 0a44331 Jun 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

frontends-demo – ./templates/vue-demo-store

frontends-demo-shopware-frontends.vercel.app
frontends-demo-git-main-shopware-frontends.vercel.app
frontends-demo.vercel.app

Please sign in to comment.