How to install React on Symfony 7

WINW > Software Development > Symfony > How to install React on Symfony 7

Add the third party lib source to your Symfony project:

The path must be:

assets/react/<name_of_the_lib>

After that, install the dependencies from the package.json in the symfony project e.g.

it’s done.

You can start loading react components from a third part lib in your symfony 7 + twig project.

Leave a Reply