Wondering what’s next for npm?Check out our public roadmap! »

    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

    Keywords

    none

    Install

    npm i ngr

    DownloadsWeekly Downloads

    11

    Version

    0.5.1

    License

    none

    Unpacked Size

    12.3 kB

    Total Files

    27

    Last publish

    Collaborators

    • avatar