maz-ui icon indicating copy to clipboard operation
maz-ui copied to clipboard

[Bug] Cannot using MazCard, MazBtn, MazLink and MazDropdown without vue-router

Open LouisMazel opened this issue 1 month ago • 0 comments

🐛 Bug Description

To use MazCard, MazBtn, MazLink, and MazDropdown, we currently need to install vue-router. We should detect Vue Router and lazy-load modules.

📦 Affected Package(s)

  • [X] maz-ui (main component library)
  • [ ] @maz-ui/nuxt (Nuxt module)
  • [ ] @maz-ui/icons (icon library)
  • [ ] @maz-ui/themes (theme system)
  • [ ] @maz-ui/translations (i18n)
  • [ ] @maz-ui/utils (utilities)
  • [ ] @maz-ui/cli (CLI tools)
  • [ ] @maz-ui/eslint-config (ESLint config)
  • [ ] @maz-ui/mcp (MCP of maz-ui)
  • [ ] @maz-ui/node (Node utilities)
  • [ ] docs (documentation)
  • [ ] Other:

LouisMazel avatar Nov 27 '25 20:11 LouisMazel