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

encore_entry_link_tags fail #964

Closed
grekpg opened this issue Apr 15, 2021 · 1 comment
Closed

encore_entry_link_tags fail #964

grekpg opened this issue Apr 15, 2021 · 1 comment

Comments

@grekpg
Copy link

grekpg commented Apr 15, 2021

When i get files example for ckeditor

{{ encore_entry_link_tags('css/app',null,'front' }}

then

{{ encore_entry_link_tags('css/app',null,'front', {'mea-selector':'app_css'}) }}

second response is empty - so this is error.

Please add example

encore_entry_link_tags_if_not_fired like was in old php inlude_once - this have sense.

or extra parameter reset. Now i think this is error. I ask for files two times and have diferent results

What if i in one request prepare template and example iframe content ? i cannot get assets ?

And is realy many work to override EntryFilesTwigExtension, off corse is Final class, use private services ....

What happens to this world, it seems to you that you are never wrong?

i create {{ encore_reset('front') }} but i think This should not be spent

@weaverryan
Copy link
Member

Hi!

This is a known bug... or really, we do this in purpose, but (as you can see) it doesn't work in all cases. Here is some more information: symfony/webpack-encore-bundle#91

Cheers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants