Open adnduweb opened 2 years ago
CodeIgniter version: Package version: "mihatori/codeignitervite": "^1.1", "codeigniter4/framework": "4.2.6",
Describe the bug
I installed Codeigniter/Shield with Codeigniter fast. When I extend my basic layout, the js resource is doubled and there are two "
Expected behavior That everything works properly :)
Additional context Correction Mihatori\CodeigniterVite\Decorator after Line 17, add :
if (preg_match('/<div id=\"app\">/', $html, $matches)) { return $html; }
Thanks for that but you can instead disable auto injection from .env file and use the package helper
.env
CodeIgniter version: Package version: "mihatori/codeignitervite": "^1.1", "codeigniter4/framework": "4.2.6",
Describe the bug
I installed Codeigniter/Shield with Codeigniter fast. When I extend my basic layout, the js resource is doubled and there are two "
Expected behavior That everything works properly :)
Additional context Correction Mihatori\CodeigniterVite\Decorator after Line 17, add :
if (preg_match('/<div id=\"app\">/', $html, $matches)) { return $html; }
Thanks for that but you can instead disable auto injection from
.env
file and use the package helper