What can Node.js do that ASP.NET cannot?

Is it possible to use the Jade template engine without NodeJS, or is there an alternative which can be used without NodeJS?

  • I am more intersted in the part where you don't need to write <h2>title</h2> but h2 title Is that possible without the NodeJS spplication?

  • Answer:

    You can write jade templates, and than compile them with gulp for example: https://www.npmjs.org/package/gulp-jade

Daniel Husár at Quora Visit the source

Was this solution helpful to you?

Other answers

I found a program for windows called Prepros. It has the dependencies built in and supports a lot of other languages like Less SASS coffescript etc.

Anonymous

Yes, the jade npm package can compile templates with the CLI application in fact. In the https://www.npmjs.com/package/jade, it mentions that you can compile a client template with: $ jade --client --no-debug template.jade. Of course, you'll still need node installed on the server, but that's just to run the jade package.

Raphael Mu

Sure. We use Jade as replacement for HTML in all our projects. You can compile it using Jade CLI app or with help of various task runners like Grunt, Gulp, Broccoli, Webpack for Jade processing. Jade can be transpiled to static HTML, PHP...only limits is your imagination :) If you are not fan of CLI tools, or just don't have enough skills yet, there are various apps for both Windows and OS X with nice GUI that does the job out of the box. I'd suggest CodeKit for OS X or Prepros for Windows.

Viktor Bezdek

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.