Add prefix tag name of a component with variable

Hi everyone.

I ask you for to do something enough tricky.
I’m trying to change the tag name of a component with a variable and i don’t know how to do it.

I’m trying with an import but it’s doesn’t work because the import is done after the use of the @Component.

My final goal is to had a prefix to all component of the project (ex : ada-button, ada-component, ada-card …). The “ada” has defined globally.

Do you have an idea to help me ?

Thank’s

1 Like