Answer the question
In order to leave comments, you need to log in
Why doesn't it find the pattern in nunjucks?
Switching from gulp to npm scripts. And I ran into a problem that nunjucks does not see the template, although it exists and the path in the error text is the correct
structure
pages/page-index/index.njk
src/modules/layout/_layout.njk
{% extends "./../../src/modules/layout/_layout.njk" %}
npx nunjucks index.njk -p pages/page-index -o dist
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question