0.0.5 • Published 3 years ago
@zartin/react-ng v0.0.5
@zartin/react-ng 0.0.5
Serve, build and test React apps with the Angular CLI
Installation
npm i @angular/cli -g
npm i @zartin/react-ng --save-dev
Usage
- have a correctly configured angular.json (assuming your React project is located at projects/demo)
{ "$schema": "./node_modules/@angular/cli/lib/config/schema.json", "version": 1, "newProjectRoot": "projects", "projects": { "demo": { "projectType": "application", "root": "projects/demo/", "sourceRoot": "projects/demo/src", "architect": { "serve": { "builder": "@zartin/react-ng:serve" } } } }, "defaultProject": "demo" }
- run
ng serve
License
MIT
Copyright by Martin Zachoszcz