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.
Changes: