Skip to content

Basic Pipe Template

Joshua Wiens edited this page Mar 7, 2016 · 3 revisions

Usage

  1. Type "ng2" which will bring up the templates list & "p" to scope to Pipe Templates
  2. Arrow key to ng2pipeBasic and hit enter
  3. Type desired pipe prefix and hit enter
  4. Type desired pipe name and hit enter

Pro Tip - Add missing module imports using the WebStorm Shortcut " alt/option + enter "

Class name is based on the pipe name

Demo