Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 1.13 KB

README.md

File metadata and controls

32 lines (20 loc) · 1.13 KB

Magewire Example Module

This is a Magento 2 module provides a couple of examples to start a journey with Magewire. Read the full article.

1. Installation:

  • composer config repositories.snowdog/magewire-examples git [email protected]:SnowdogApps/magewire-examples.git
  • composer require snowdog/magewire-examples
  • bin/magento setup:upgrade

2. Requirements:

  • Magento > 2.4.3
  • PHP > 8.1

2. Run the examples:

After installation go to <MAGENTO_HOST>/magewire to run the two examples provided:

Counter <MAGENTO_HOST>/magewire/counter

This is the most simple example which Maguire's team suggests from various tutorial. Pressing the Increment / Decrement button makes the value of the field changing accordingly.

counter.gif

Product Listing <MAGENTO_HOST>/magewire/productfilter/

This example makes filers a collection of products by two filters without refreshing the page.

filter-anim.gif

Disclaimer

This module is provided as is and, it provides just examples, support is not provided.