The New Way to Build with AI! Introducing ReUI — the developer platform for agentic UI with shadcn/ui
Browse ReUI Pro

Vue Navbar


Why is Vue navbar multiplexing menu names? What is the solution ?
For example;

Dashboard
layout builder
crafted
Apps
Mega Menu
Help
--Again
Dashboard
layout builder
crafted
Apps
Mega Menu
Help


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (9)


This usually happens when the navbar component re-renders multiple times due to duplicated routes or nested layout imports.
Try checking if your router-view is being wrapped twice or if you’ve registered the same layout file in multiple places.

Also, while working on frontend builds, I took a short break and found something cool — Jenny Mod www.jeenymods.com
for Minecraft. Worth checking out if you like modding stuff!


Deleted comment
Deleted comment
 
Deleted comment
 
Deleted comment
 
Deleted comment

Hocam bu konuyu düzeltebildiniz mi?



I've got the same but only when I smash F12 to enter devtools then 99% cases menu items are doubled.



I dont understand.What's the solution ?



Hi Melih,

We had this issue in Metronic older versions and it should already be fixed in the latest version.

Here is the latest version preview page:
https://preview.keenthemes.com/metronic8/vue/demo1/#/dashboard

Could you please specify which Metronic version are you using?

Regards,
Lauris Stepanovs,
Keenthemes Support Team



Hi,

Version: 8.1.6

How do I add the new version to my project with npm.



Hi Melih,

As far as I remember, the issue was related to src/assets/ts/components/_SwapperComponent.ts so to fix it you can just update this component in your project.

If you want fully migrate to the latest version then you can refer to our Metronic Updating guide.

Regards,
Lauris Stepanovs,
Keenthemes Support Team



No that wasn't it. My problem was how to get my project up to date



Hi Melih,

Then you can refer to our Metronic Updating guide.

Regards,
Lauris Stepanovs,
Keenthemes Support Team


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
buy metronic keenthemes mega bundle

ReUI

Open-source React components, blocks and templates built on shadcn/ui and Tailwind CSS by Keenthemes.