diff --git a/src/Generators/Scaffold/MenuGenerator.php b/src/Generators/Scaffold/MenuGenerator.php index 357fc47b3..e5f921b0b 100755 --- a/src/Generators/Scaffold/MenuGenerator.php +++ b/src/Generators/Scaffold/MenuGenerator.php @@ -51,7 +51,9 @@ public function generate() { $this->menuContents .= $this->menuTemplate.infy_nl(); $existingMenuContents = file_get_contents($this->path); - if (Str::contains($existingMenuContents, ''.$this->commandData->config->mHumanPlural.'')) { + // adminlte uses
tab and coreui+stisla uses tag for menu
+ if (Str::contains($existingMenuContents, ' '.$this->commandData->config->mHumanPlural.'