From aaea32f38de41c0105fb709ef7a73281f120f7b4 Mon Sep 17 00:00:00 2001 From: silai Date: Mon, 27 May 2019 11:56:32 +0800 Subject: [PATCH] Update laroute.php fixed when `\Artisan::call('laroute:generate')` template is wrong. --- config/laroute.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/laroute.php b/config/laroute.php index 6866c49..c5ad807 100644 --- a/config/laroute.php +++ b/config/laroute.php @@ -47,7 +47,7 @@ * the ported helper Laravel url/route functions and the route data to go * with them. */ - 'template' => 'vendor/lord/laroute/src/templates/laroute.js', + 'template' => base_path('vendor/lord/laroute/src/templates/laroute.js'), /* * Appends a prefix to URLs. By default the prefix is an empty string.