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

is_preload #304

Closed
ckatala opened this issue Nov 1, 2021 · 1 comment
Closed

is_preload #304

ckatala opened this issue Nov 1, 2021 · 1 comment

Comments

@ckatala
Copy link

ckatala commented Nov 1, 2021

If you use the attribute for js is_preload, it adds a link tag to it, not a script

{% render_bundle 'main' 'js' is_preload=True %}

@fjsj
Copy link
Member

fjsj commented Nov 3, 2021

Hi @ckatala, preload uses link, not script. Use it and call another render_bundle without the is_preload, like close to </body>.

Let me know if there are additional concerns. Closing for now.

@fjsj fjsj closed this as completed Nov 3, 2021
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