compile a typescript react component with webpack

This commit is contained in:
Ian Minoso 2016-10-18 17:16:01 -04:00
parent 9015b09026
commit 5a45f140c2
5 changed files with 22 additions and 32 deletions

View file

@ -4,17 +4,8 @@
<div class="page-content">
<!-- New Public Repo Page experiment -->
<div ng-if="newRepoExperiment" class="main-panel">
<!-- Test React Component -->
<div>
<div>
<div>This is using the generic react-component directive</div>
<react-component name="test-component" props="reactProps"/>
</div>
<div>
<div>This is creating a specific directive corresponding to a react component</div>
<test-component first-prop="reactProps.firstProp" second-prop="reactProps.secondProp"/>
</div>
</div>
<!-- React Components -->
<repo-header />
</div>
<!-- Old Repo Page -->
<div ng-if="!newRepoExperiment">