Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug Decorator #23

Open
adnduweb opened this issue Sep 11, 2022 · 1 comment
Open

Bug Decorator #23

adnduweb opened this issue Sep 11, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@adnduweb
Copy link

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;
}

@adnduweb adnduweb added the bug Something isn't working label Sep 11, 2022
@jaguarch
Copy link
Collaborator

Thanks for that
but you can instead disable auto injection from .env file and use the package helper

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants