Update UI library
There is a possibility that some custom components might not be compatible with our latest UI library. Please see here for more details on the risks.
Update UI library (manually)
When sfb-toolkit components
is executed a specific version of sfb-theme-components
will be installed as part of your theme and will not change. This is done to ensure that the expected behaviour is not changed through future updates. As such, the installed sfb-theme-components
library version is effectively fixed
.
To update the sfb-theme-components
library you can simply execute the following command:
sfb-toolkit install @appdirect/sfb-theme-components@latest
A prompt will be displayed that will need to be accepted before you can proceed with the update.
- Please write down the @appdirect/sfb-theme-components version mentioned in the prompt message in case you encounter any issues and might need to revert the update.
- If you do not see a prompt your toolkit version might be outdated. Please update to the latest toolkit version.
To revert back to the previous UI library version you can execute the below command where version
represents the previously written down npm package version number.
sfb-toolkit install @appdirect/sfb-theme-components@version
Was this page helpful?
Tell us more…
Help us improve our content. Responses are anonymous.
Thanks
We appreciate your feedback!