@diosmosis opened this Pull Request on February 16th 2022 Member


This PR introduces a method to initialize entry Vue components without angularjs. Add the vue-entry="Plugin.Component" attribute to an element in a twig template and the Vue component will be initialized. Currently the attributes are only handled on the initial page load. Vue components used in old vanilla controller action results will need to have the new piwikHelper.compileVueEntryComponents() method called on the HTML. This method should not be mixed with piwikHelper.compileAngularComponents(). Other HTML attributes are used as input props to the component. The attributes can be JSON encoded.

Used in last tag-manager pull request.


  • Add piwikHelper.compileVueEntryComponents() which initializes elements w/ vue-entry as the Vue components the attribute references.
  • Call the above function once on document ready.


This Pull Request was closed on February 16th 2022
Powered by GitHub Issue Mirror