/MustacheTheme

An example/boilerplate Magento theme to use Mustache templates

Primary LanguageTypeScript

Example Mustache Magento Theme

This theme can be used in combination with the mattwellss/magestache plugin to render layered category products with Mustache templates.

Installation

Run composer require mattwellss/mustache-theme in your Magento app's root (or wherever composer.json is found).

WIP JavaScript frontend

In the frontend folder is a work-in-progress JS frontend. To see what's (possibly) planned, do the following:

  • yarn install (get yarn first, of course)
  • webpack-dev-server
    • N.B. the fakedata.ts data points to images available at 127.0.0.1:8080. This probably won't work for you.
    • This generates the bundle using webpack and hosts it at localhost:8000