-
Notifications
You must be signed in to change notification settings - Fork 20
Complex Component Template
Joshua Wiens edited this page Mar 7, 2016
·
5 revisions
- Type "ng2" which will bring up the templates list & "c" to scope to Component Templates
- Arrow key to ng2compComplex and hit enter
- Type desired selector prefix and hit enter
- Type desired selector name and hit enter
- Type desired style sheet extension and hit enter or just hit enter to accept the default (css)
Pro Tip - Add missing module imports using the WebStorm Shortcut " alt/option + enter "
Template & style URLs are based of the file name
Class name is based on the selector name
Component Templates
Directive Templates
HTML Built-in Directives
Pipe Templates
Route Configuration Templates
Route Templates
Service Template