neosrulez/reactjs

A package for Neos CMS which embeds ReactJS and Babel.

0.0.1 2020-12-30 16:15 UTC

This package is not auto-updated.

Last update: 2024-12-27 10:12:00 UTC


README

A package for Neos CMS which embeds ReactJS and Babel. https://reactjs.org/

Installation

The NeosRulez.ReactJS package is listed on packagist (https://packagist.org/packages/neosrulez/reactjs) - therefore you don't have to include the package in your "repositories" entry any more.

Just run:

composer require neosrulez/reactjs

Usage

AcmeSiteReactJs = NeosRulez.ReactJs:Component.Script.Tag {
    src = Neos.Fusion:ResourceUri {
        path = 'resource://Acme.Site/Public/JavaScript/scripts.js'
    }
    inline = true
}

Author