Created
March 16, 2016 18:58
-
-
Save simpulton/8d4c95b56dd59a54d1a6 to your computer and use it in GitHub Desktop.
An Angular 2 component live template for Webstorm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import {Component, ViewEncapsulation} from 'angular2/core'; | |
@Component({ | |
selector: '$SELECTOR$', | |
template: require('./$SELECTOR$.html'), | |
style: [ | |
require('./$SELECTOR$.scss') | |
], | |
encapsulation: ViewEncapsulation.None, | |
directives: [] | |
}) | |
export class $CLASSNAME$ { | |
$END$ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment