Answer the question
In order to leave comments, you need to log in
Why in twig js 2nd level file doesn't accept data from JSON?
For example: I have a data.json file with navigation data (href, title , icon) and so on.
there is a structure:
views
└─── partials
| └─── _header.twig
| └─── components
| └─── navigation
| └─── _layout.twig
└─── tmp
| └─── data.json
└─── index.twig
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