From 85e898f741b3f85b3e43d465900cfb203ef3ae83 Mon Sep 17 00:00:00 2001 From: Adrian I Date: Thu, 7 Oct 2021 16:12:52 +0300 Subject: [PATCH] Add optimize command after adding new routes --- docs/api/getting-started/installation.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/api/getting-started/installation.md b/docs/api/getting-started/installation.md index f344369..55129a2 100755 --- a/docs/api/getting-started/installation.md +++ b/docs/api/getting-started/installation.md @@ -45,7 +45,7 @@ GetCandy supports Vimeo as an asset driver, however to [due to an issue in the r "vimeo/laravel": "^5.5" ``` -### Publish config +### Publish config and clear cache Once the package has been added, publish the base config @@ -94,6 +94,10 @@ public function boot() }); } ``` +Also for new routes to load, run: +```bash +php artisan optimize +``` ### Additional Sanctum configuration @@ -172,4 +176,4 @@ Route::post('/logout', function (Request $request) { Auth::logout(); return response()->json('', 204); }); -``` \ No newline at end of file +```