Dihgg Dihgg - 1 year ago 75
Jade Question

Jade-php - Declare a Jade variable in a jade format only

Assume we have

//- foo.jade
- var foo= "bar"

when compiling (i'm using gulp jade php) the results will be:

<?php var foo="bar" ?>

Is possible to declare a variable in a jade format only?

Answer Source

Ok, several days later i've figured something using the filters functions :jade

    - var foo="bar"