Replies: 2 comments 2 replies
-
I hoped that this wouldn't be needed, because it is actually a razor issue, that it doesn't understand aliases. Unfortunately, seems like it won't be fixed anytime soon, which makes this a perfectly reasonable request. |
Beta Was this translation helpful? Give feedback.
2 replies
-
I have merged the support for Aliases property to rename the type name itself. It will be included in the next release, but you can try it with the nightly release. You can take a look here for an example. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It is recommended that component generators support custom component namespaces or rename components.
Because some components may have the same name as MAUI components, such as Button and Label, but because components such as ContentPage must be used in general, the namespace of MAUI components is used by default, and there will be ambiguous references at this time.
I tried: @using MD = xxxx.xxx.Button; <MD.Button></MD.Button> but couldn't find the correct component.
So I hope that the component generator supports adding custom prefixes/suffixes to components or supports renaming.
Beta Was this translation helpful? Give feedback.
All reactions