{# 'provide" strings which can 'injected' throughout the Vue app, including from within a pinia store #}
{% url 'home' as homeUrl %}
{% vue_provide 'homeUrl' homeUrl %}
vue_provide tag here works as a template tag but it does not work together with pinia v2.1.x, inject() will not look for window.vueProvided and will always end up with undefined value if we follow the above instruction.
vue_provide tag here works as a template tag but it does not work together with pinia v2.1.x, inject() will not look for window.vueProvided and will always end up with undefined value if we follow the above instruction.