Answer the question
In order to leave comments, you need to log in
How do I pass a variable to the include directive of the Jade template engine?
Here is an example:
// Critical CSS
-var url= '../../assets/css/cri/'+thisFile.name+'min.css'
style
include url
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