WebStorm 9.0.2 Help

Using JADE Template Engine

WebStorm supports integration with the JADE template engine.

On this page:

Prerequisites

  1. Enable Node.js support as described in Node.js.
  2. Make sure the NodeJS and Jade plugins are enabled. The plugins are bundled with WebStorm and activated by default. If not, enable them on the Plugins page of the Settings dialog box as described in Enabling and Disabling Plugins.
  3. Make sure the JADE plugin is enabled. The plugin is bundled with WebStorm and activated by default. If not, enable it on the Plugins page of the Settings dialog box as described in Enabling and Disabling Plugins.

Changes to the UI

The JADE plugin introduces the following changes to the WebStorm UI:

To use JADE templates in a NodeJS application, do one of the following:

In the runtime, the JADE files fill be transformed into HTML pages.

To create a JADE file

  1. In the Project tool window, select the directory in which you want to create a new file. Choose File | New or press Alt+Insert.

    Alternatively, right-click the corresponding directory and choose New from the context menu.

  2. Choose Jade file.

See Also

Last modified: 5 February 2015
comments powered by Disqus