Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

AwadGorg's avatar

What is the best way to use Nuxt Js and Laravel

Hello, I want to use Nuxt js as my front-end and Laravel as an API so I've created laravel project and inside of the public function created the nuxt project and run npm run dev insde of the public and everything works fine and run php artisan serve at the root of project to handle API with laravel, the problem is the nuxt fetch method and asyncData are not working for some reason am I doing anything wrong. I want to make universal web app

0 likes
1 reply

Please or to participate in this conversation.