ngr
v0.5.1
Published
Embed React components in your Angular app
Downloads
3
Readme
ngr
Embed React components in your Angular app
Getting started
- Install the dependency from npm:
npm install --save ngr react react-dom
- Add jsx files support to
compiler options
in the tsconfig.json file in your project:
"jsx": "react"
Creating a React component
ng generate ngr:component hero-detail
- Note: You need to add the component to your module.