ukmaloth / react-in-angular

Embedding a React component in an Angular app, the simple way

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Embedding React in Angular

This project shows how to embed a React component within an Angular application, in a simple way and without any complex 3rd party libraries.

Run

Run ng serve --open

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor.

About

Embedding a React component in an Angular app, the simple way


Languages

Language:TypeScript 74.8%Language:JavaScript 13.9%Language:CSS 7.3%Language:HTML 4.0%