Skip to content
Discussion options

You must be logged in to vote

Interesting, this seems to work:

-eleventyConfig.addNunjucksAsyncShortcode('mytest', tsc.doWork);
+eleventyConfig.addNunjucksAsyncShortcode('mytest', async (value) => tsc.doWork(value));

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@pdehaan
Comment options

pdehaan Jan 18, 2023
Collaborator

@mendhak
Comment options

@pdehaan
Comment options

pdehaan Jan 19, 2023
Collaborator

@mendhak
Comment options

Answer selected by mendhak
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants