How to use folders in views with express app
问题 I have a pug template inside my views folder under views/administration/assets/fixed-assets.pug My default.pug which the fixed-assets.pug extends from is in my root views folder. When I try to render the fixed-assets.pug view it looks for the default.pug inside the views/administration/assets/ directory rather than the views directory itself Everything works fine if I take the fixed-assets.pug and place it in the views directory instead of the views/administration/assets/ directory and update