After you’ve created your themelet, follow the steps below to install it into your theme.
-
Navigate to your theme’s root folder and run
gulp extend
. -
Choose Themelet as the theme asset to extend.
-
Select Search globally installed npm modules, Search npm registry, or Specify a package URL to locate the themelet.
Figure 1: You can extend your theme using globally installed npm modules or published npm modules.
-
Highlight your themelet, press spacebar to activate it, and press Enter to install it.
Great, now you know how to install a themelet in your theme! The next time you deploy your theme, the themelet will be bundled along with it.
Related Topics
-Generating Themelets with the Theme Generator -Injecting Additional Context Variables and Functionality into Your Theme Templates -Packaging Independent UI Resources for Your Site