virtual-jade icon indicating copy to clipboard operation
virtual-jade copied to clipboard

update to jade v2

Open jonathanong opened this issue 10 years ago • 2 comments

when released

  • use the jade parser module separately

jonathanong avatar Apr 06 '15 07:04 jonathanong

I started looking into this and pug/jade-v2 passes the basic tests but fails on include/extends.

Thanks for your work, it was easy to make a gulp-pug-hyperscript plugin based on virtual-jade and the example of virtual-jade-loader.

doublerebel avatar Jul 13 '16 00:07 doublerebel

Awesome, thanks for looking into it. Glancing at your build results ("Error: ENOENT: no such file or directory, open 'test/fixtures/extended-layout.jade'"), it seems to be looking for .jade files instead of .pug. In this repo's test fixtures, we specify the file extension (e.g., https://github.com/tdumitrescu/virtual-jade/blob/9329e0bbe61732c893dc64680609367e6a2a1778/test/fixtures/include.jade#L3) - what happens if you update your fixtures to include the .pug extension?

tdumitrescu avatar Jul 13 '16 01:07 tdumitrescu