flagbird/akeneo-requirejs-with-react-ts

An example bundle for using mostly Typescript and React instead of RequireJS in Akeneo

dev-main 2021-03-10 14:32 UTC

This package is auto-updated.

Last update: 2024-04-10 21:16:25 UTC


README

An example bundle for using mostly Typescript and React instead of RequireJS in Akeneo

Installation

composer require flagbird/akeneo-requirejs-with-react-ts:dev-main

Enable the bundle

<?php
// config/bundles.php

return [
    // ...
    Flagbird\AppBundle::class => ['all' => true],
];

Create a route yaml file in config/routes:

app:
  resource: "@AppBundle/Resources/config/routes/app.yml"

Clear cache and rebuild your frontend.