I added nuxt-laravel package in my previous laravel and nuxt based application. By following the "Easy Method" procedure, I could successfully configure the complete application for both laravel and nuxt, build and generate spa into laravel's public directory. My config/nuxt.php is as follows:
I added route('nuxt'); to my routes/web.php file, which however returns Route [nuxt] not defined. exception when visiting the url. Is there anything wrong with my configuration? Thanks!
I added nuxt-laravel package in my previous laravel and nuxt based application. By following the "Easy Method" procedure, I could successfully configure the complete application for both laravel and nuxt, build and generate spa into laravel's public directory. My
config/nuxt.php
is as follows:I added
route('nuxt');
to myroutes/web.php
file, which however returnsRoute [nuxt] not defined.
exception when visiting the url. Is there anything wrong with my configuration? Thanks!