'how to give dynamic route path in include in pug template
want to make dynamic include
example- h1 include path/#{object} or include path/+{object}+{a:true,b:11} something like above and if any one know how to do with Mixins in pug please give an example for include
Solution 1:[1]
A dynamic path for extends, include is not possible, because the pug compiler expects the path as a string rather than interpolating the path.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | biodiscus |
