跳至主要内容

Component UID Generator

Generate a unique PROVIDE_UID macro for a new component or extension.

Use this when creating a new component from a template. The default PROVIDE_UID placeholder is invalid on purpose, so every component gets its own UID (Unique IDentifier).

Find this placeholder:

PROVIDE_UID(/* UID GOES HERE */);

And replace it with:

PROVIDE_UID();

Each component should have a unique UID. If you are modifying an existing component, replace its current UID rather than the placeholder shown above.