I have a basic Yii2 application and an API in it. The project structure is as follows: Structure

I also have a ready-made React build that uses this API, the folder structure is as follows: Structure

Actually the question is how and where should I put this build, how to integrate it correctly in this basic application Yii2. Because it does not work separately because of the CORS. Perhaps there are some articles or your experience on this topic, I can not find something suitable.

    0