matebe12 / react-ng-spa-app

micro frontend example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Single-spa app with React and Angular

Install the npm packages

Navigate to the root-config, react-app, and angular-app folders and run the command

$ npm install

Run the application

  • Navigate to the angular-app folder and run the below command

    $ npm run serve:single-spa:angular-app
  • Navigate to the react-app folder and run the below command

    $ npm start
  • Navigate to the root-config folder and run the below command

    $ npm start

    In the browser open the application at http://localhost:9000

    Now in the top navigation bar click on React, you will be routed to the React app, on click of Angular you will be redirected to angular app

    http://localhost:9000/react -> React App http://localhost:9000/angular/ -> Angular App

About

micro frontend example

License:MIT License


Languages

Language:Vue 34.4%Language:TypeScript 31.5%Language:EJS 12.9%Language:JavaScript 8.4%Language:CSS 6.9%Language:HTML 5.9%