ngr

0.5.1 • Public • Published

ngr

Embed React components in your Angular app

npm version

Getting started

  1. Install the dependency from npm:
npm install --save ngr react react-dom
  1. 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.
    Twitter Follow

/ngr/

    Package Sidebar

    Install

    npm i ngr

    Weekly Downloads

    4

    Version

    0.5.1

    License

    none

    Unpacked Size

    12.3 kB

    Total Files

    27

    Last publish

    Collaborators

    • realkfiros