Skip to content
Advertisement

How to use ReactJS in Laravel

I am new to ReactJS and I am looking for a way to integrate it in Laravel. Is there any way that I can use React components within laravel views or it should be done only by using API as separate projects.

Advertisement

Answer

Use Laravel to provide the base view, but then after that all the views would be handled by React.Then Use Laravel as API and React as front-end. Also have a look at this blog

User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement