An open API service indexing awesome lists of open source software.

https://github.com/snowdogapps/magewire-examples

Magento2 module with Magewire Examples
https://github.com/snowdogapps/magewire-examples

Last synced: about 1 year ago
JSON representation

Magento2 module with Magewire Examples

Awesome Lists containing this project

README

          

# Magewire Example Module

This is a Magento 2 module provides a couple of examples to start a journey with Magewire. Read the [full article](https://snow.dog/blog/magewire-game-changer-for-magento-from-hyva).

### 1. Installation:
* `composer config repositories.snowdog/magewire-examples git git@github.com: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 `/magewire` to run the two examples provided:

**Counter** `/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](./assets/counter.gif)

**Product Listing** `/magewire/productfilter/`

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

![filter-anim.gif](./assets/filter-anim.gif)

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