We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
On this page https://symfony.com/doc/6.4/frontend/asset_mapper.html#page-specific-css-javascript
This block
causes this error
Because the entrypoints should be passed as an array, The correct code should be
{{ importmap(['app', 'checkout']) }}
The text was updated successfully, but these errors were encountered:
cc @smnandre @weaverryan
Sorry, something went wrong.
That is 100% true
ebca2e9
bug #19312 [AssetMapper] Fix importmap code example with multiple ent…
ad75077
…rypoints (smnandre) This PR was merged into the 6.4 branch. Discussion ---------- [AssetMapper] Fix importmap code example with multiple entrypoints Fix #19311 importmap twig extension method does indeed require an array or a string, and not a variadic : https://github.com/symfony/symfony/blob/6.4/src/Symfony/Bridge/Twig/Extension/ImportMapRuntime.php Commits ------- ebca2e9 Update asset_mapper.rst
Thanks!
Successfully merging a pull request may close this issue.
On this page https://symfony.com/doc/6.4/frontend/asset_mapper.html#page-specific-css-javascript
This block
causes this error
Because the entrypoints should be passed as an array, The correct code should be
{{ importmap(['app', 'checkout']) }}
The text was updated successfully, but these errors were encountered: