mirror of
https://github.com/bugsink/bugsink.git
synced 2026-01-06 05:10:15 -06:00
Use tailwind_preload_css
> The tag generates a preload directive for your stylesheet, which improves
> loading performance in production. Place it above the {% tailwind_css %} tag:
See e.g. https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel/preload
For a brief moment I thought that this was malfunctioning, because it is missing
the ?v=... part, but that part is DEBUG-only, so we don't care about it for real
use-cases
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
{% tailwind_preload_css %}
|
||||
{% tailwind_css %}
|
||||
</head>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user