primefaces / primevue-nuxt-module

MIT License
73 stars 11 forks source link

The `name` option of `components` is not working #1

Closed mertsincan closed 1 year ago

mertsincan commented 1 year ago

Exp;

primevue: {
  components: {
       name: ({ name, as }) => {
          return as === 'Button' ? `My${name}` : name
       }
   }
}

output:

app.component('MyButton', Button);