fab48 fab48 - 4 months ago 202
Node.js Question

how add jade in iframe?

I have this code in a file

.jade
:

iframe(src="file2.jade" width='100%' height='4000' frameborder=0 scrolling='no')


the
file2
file is in the same folder as this file, but does not insert the file, what can I do?.

Thanks

Answer

Adding .jade file to an iframe does not make sense. Iframes are processed by a browser, and browser expects html, not jade.

So the answer depends on what are you trying to do, maybe include directive will help.

Comments