I have this code inside one of my .php views. I have a react app that is attached to my php project. This app works fine, but i need to render this react app in the example code above. This react app is a stand alone attached to my project route('flights.local').
Maybe this is a dumb question but I am not familiar with php. Is there anyway I can render my react app here?
<div class="col-md-12">
<h3>flight</h3>
<a class="btn btn-success text-center"
href="{{ route('flights.local') }}"
style="color: white">
{{ translation('flight') }}
</a>
</div>