twing icon indicating copy to clipboard operation
twing copied to clipboard

First-class Twig engine for Node.js

Results 43 twing issues
Sort by recently updated
recently updated
newest added

There are a lot of errors in the [extension documentation](https://nightlycommit.github.io/twing/advanced.html#context-aware-filters), surrounding use of custom functions (`TwingFunction`). For example: >If you want to access the current context in your filter, set...

documentation

The following template is supposed to work: https://twigfiddle.com/l3d401 It seems, that the template path/name resolution is not working as expected (`TwingErrorLoader: Unable to find template`). Instead of the correct template...

I'm trying to use Twing in Storybook to demonstrate Twig templates that will be used on a Drupal 9 site. I am using Twing `5.0.2` and `twing-loader` `0.5.5`. In my...

The following template is supposed to work **with strict mode disabled**: https://twigfiddle.com/pumltd Twing in Version 5.0.2 will throw the following exception: ``` TypeError: Cannot read property 'toString' of null at...

Given that the list of [known issues](https://nightlycommit.github.io/twing/known_issues.html) is completely empty, one might think there is nothing missing from this implementation. However, certain facets of the PHP implementation simply cannot be...

Dear visitor, Twing will be moving to GitLab in the close future. We feel that GitLab set of features is now superior to what GitHub has to offer and that...

announcement

Hello Guys, First of all, thank you for your incredible work here ! I am using this lib within an api and I want to implement a function which takes...

question

Hi there! (using "twing": "^5.0.2") I defined a simple function and getting this error: `"An exception has been thrown during the rendering of a template (\"items.reduce is not a function\")...

Can someone explain how these class of errors appear? I have absolutely no idea how to keep this form happening. It happens once every so often to someone random in...