compile a typescript react component with webpack
This commit is contained in:
parent
9015b09026
commit
5a45f140c2
5 changed files with 22 additions and 32 deletions
|
@ -1,2 +1,9 @@
|
|||
import * as React from "react";
|
||||
import * as ReactDOM from "react-dom";
|
||||
import * as angular from "angular";
|
||||
|
||||
import repoHeader from "./directives/components/component";
|
||||
|
||||
angular.module('quayPages').directive('repoHeader', function(reactDirective) {
|
||||
return reactDirective(repoHeader);
|
||||
});
|
||||
|
||||
|
|
Reference in a new issue