Answer the question
In order to leave comments, you need to log in
How to display the properties of an object stored in the included js file using pug?
There is an object that is processed in a js file included in pug. When I try to compile it, I get the error "Cannot read property 'length' of undefined". Pug can't get object from third party file? Because when you add it directly to pug, everything is ok.
https://codepen.io/Petrov_Ruslan/pen/eYYNeao
_
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