M
M
m4son2021-03-20 13:01:26
npm
m4son, 2021-03-20 13:01:26

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


index.njk file
{% extends "./../../src/modules/layout/_layout.njk" %}


command in console
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 question

Ask a Question

731 491 924 answers to any question