wn-discoteam-theme/partials/headassets/default.htm

12 lines
494 B
HTML

{% if devServerIsRunning %}
<script type="module" src="http://localhost:3000/themes/vite-tailwind/@vite/client"></script>
<script type="module" src="http://localhost:3000/themes/vite-tailwind/resources/js/app.js"></script>
{% else %}
{% for css in cssPaths %}
<link rel="stylesheet" href="{{ ('assets/public/' ~ css)|theme }}">
{% endfor %}
{% put scripts %}
<script type="module" src="{{ ('assets/public/' ~ jsPath)|theme }}"></script>
{% endput %}
{% endif %}