Skip to content

Commit

Permalink
Add a router config snippet
Browse files Browse the repository at this point in the history
  • Loading branch information
pjlamb12 committed Jul 20, 2016
1 parent 61efaa7 commit 842eabb
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions snippets/ng2-router-config.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<snippet>
<content><![CDATA[
import { RouterConfig } from '@angular/router';
export const ${1:component}Routes: RouterConfig = [
{ path: '', component: ComponentName }
]
]]></content>
<tabTrigger>ng2-router-config</tabTrigger>
<scope>source.ts,source.tsx,source.js</scope>
<description>Angular 2 Router Config Snippet</description>
</snippet>

0 comments on commit 842eabb

Please sign in to comment.