Installing a Themelet in Your Theme

After you’ve created your themelet, follow the steps below to install it into your theme.

  1. Navigate to your theme’s root folder and run gulp extend.

  2. Choose Themelet as the theme asset to extend.

  3. 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.

    Figure 1: You can extend your theme using globally installed npm modules or published npm modules.

  4. 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.

-Generating Themelets with the Theme Generator -Injecting Additional Context Variables and Functionality into Your Theme Templates -Packaging Independent UI Resources for Your Site

« Extending ThemesInjecting Additional Context Variables and Functionality into Your Theme Templates »
Was this article helpful?
0 out of 0 found this helpful