react2angular
react2angular copied to clipboard
How to use in a directive
Hey there. Is it possible to use this in a directive rather than a component? I'm getting the error when using .component the .component is not a function. components aren't used anywhere currently in the project I'm working but we are using directives. If it's possible how would I go about doing this? I've tried the same syntax as .component but that does not work. I'm not an angular developer so I'm not too familiar with all of this.
unsubscribe
Gavyn Caldwell [email protected] 于2019年3月29日周五 上午7:17写道:
Hey there. Is it possible to use this in a directive rather than a component? I'm getting the error when using .component the .component is not a function. components aren't used anywhere currently in the project I'm working but we are using directives. If it's possible how would I go about doing this? I've tried the same syntax as .component but that does not work. I'm not an angular developer so I'm not too familiar with all of this.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/coatue-oss/react2angular/issues/102, or mute the thread https://github.com/notifications/unsubscribe-auth/AAE8kdnMbHgQBX6Vhizm0pUoSpdWz2acks5vbU1tgaJpZM4cRUNi .
unsubscribe?
angular.component is provided in angularjs 1.5.
My project is currently 1.4+ and I'm going to migrate to 1.5 before using this project. You may follow this instruction