$ composer require twigtovue
$ composer test
$ composer test-one
$ composer install
{% include 'web/' ~ 'view/film/index/index.twig' with {
films: []
} %}
Separate include strings to break out namespacing of Vue class name. TwigToVue will use the last string, so the example above will look for ViewFilmIndex.
Duplicate names are automatically stripped from includes. In the
above example, "index/index.twig" becomes ViewFilmIndex
.
twigtovue © polymer mallard, released under the ISC License.
Authored and maintained by Polymer Mallard with help from contributors.
polymer mallard · GitHub @mattkenefick · Twitter @mattkenefick