2017 © Pedro Peláez
 

magento2-module test-js-component3

image

yireo/test-js-component3

  • Saturday, January 14, 2017
  • by jissereitsma
  • Repository
  • 2 Watchers
  • 0 Stars
  • 3 Installations
  • HTML
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

ExampleJsComponent3 module for Magento 2

This repository contains a Magento 2 module that illustrates the usage of RequireJS and a simple JS component, that demonstrates how JS components can load their configuration., (*1)

Installation

To install use the following composer command:, (*2)

composer require yireo-training/magento2-example-js-component3:dev-master

Next enable the module:, (*3)

bin/magento module:enable Yireo_ExampleJsComponent3
bin/magento setup:upgrade

And flush the cache:, (*4)

bin/magento cache:clean

Proof of concept

After installing the module, the main container should contain a box that is updated via the JS component, displaying the text from the Block class., (*5)

Optionally switch between the PHTML templates by modifying the Block class $_template variable., (*6)

The Versions

14/01 2017

dev-master

9999999-dev

  Sources   Download

OSL-3.0

The Requires

  • magento/framework 100.*
  • php >=5.6.0

 

The Development Requires

by Jisse Reitsma (Yireo)

composer-installer magento

14/01 2017

0.0.1

0.0.1.0

  Sources   Download

OSL-3.0

The Requires

  • magento/framework 100.*
  • php >=5.6.0

 

The Development Requires

by Jisse Reitsma (Yireo)

composer-installer magento