Barbapapazes / nuxt-authorization

Authorization module for managing permissions inside a Nuxt app.
https://soubiran.dev/posts/nuxt-going-full-stack-how-to-handle-authorization
MIT License
167 stars 6 forks source link

[feature request] Add template prop: `tag` to Vue components #31

Open maartenvanhunsel opened 3 weeks ago

maartenvanhunsel commented 3 weeks ago

Hi @Barbapapazes, are you open to extending the Vue components with dynamic components? Personally, I prefer to avoid deeply nested HTML tags. In this regard, I would like to propose adding a new optional property: tag, to facilitate the creation of dynamic components and to prevent unnecessary nesting of items.

If you agree I may create a PR. Let me know.

Barbapapazes commented 2 weeks ago

Hey @maartenvanhunsel 👋,

This is a great idea but instead of using tag, I would prefer as to align with components library.

Do you mind open a PR? Thanks 🙌

maartenvanhunsel commented 4 days ago

@Barbapapazes PR added for review.