Przejdź do głównej zawartości

Component UID Generator

Copy the PROVIDE_UID macro below in to your new component, in place of the default UID provider macro. Each component should have a unique UID, hence the U in UID (Unique IDentifier). The default PROVIDE_UID is invalid and will not compile, to avoid duplicates when creating new components from templates.

Find this placeholder:
PROVIDE_UID(/* UID GOES HERE */);

And replace it with:
PROVIDE_UID();

If you are modifying an existing component still do remember to replace the existing UID, which will be a valid value not a placeholder.