generator-gulp-angular icon indicating copy to clipboard operation
generator-gulp-angular copied to clipboard

Jade option doesn't create .jade files

Open busches opened this issue 11 years ago • 5 comments

As described in https://github.com/Swiip/generator-gulp-angular/issues/748, selecting Jade as the html templating option doesn't create .jade files, but .html files.

This is just to track the issue separately, I should be able to crank out a PR this week to fix it.

busches avatar Sep 02 '15 13:09 busches

We have many template files in https://github.com/Swiip/generator-gulp-angular/tree/master/app/templates/src/app

Are you ready to duplicate the HTML files in 3 preprocessors and maintain?

zckrs avatar Sep 02 '15 13:09 zckrs

Although when you first run the yeoman generator it gives you html files but you can edit them to be jade and the app will work the same.

You can convert html files with http://html2jade.org/

zckrs avatar Sep 02 '15 13:09 zckrs

If it's not wanted I won't do it, but I view it the same as all the different flavors of JS files the generator offers. We can update the docs to point to http://html2jade.org/ at the very least though.

busches avatar Sep 02 '15 13:09 busches

+1!

mattycraig avatar Sep 02 '15 13:09 mattycraig

A bit afraid of generating code (Yep I know, I made a generator) but if it's works well, a PR is welcome.

Swiip avatar Sep 11 '15 11:09 Swiip