{% for asset in _self.resources.assets -%}

    {% set path = ('/components/raw/' + _self.baseHandle + '/' + asset.base) | path -%}

    {% if asset.isJS -%}
        <script src="#{path}"></script>
    {%- elif asset.isCSS -%}
        <link rel="stylesheet" href="#{path}">
    {%- endif %}
{%- endfor -%}