Skip to content

skpanagiotis/mfe-multirepo-wb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Micro-Frontend Multirepo Web Components

Web Component

Multirepo Micro-Frontend Implementantion using Web Components.

Tools

Getting Started

Angular Version 15.1.0

Web Components includes, currently three projects:

  1. shell, the main project.
  2. projectOne, the first microfrontend subProject.
  3. projectTwo, the second microfrontend subProject.

In every app you should run:

npm install

Firstly, you should build projectOne with this command:

npm run bundle

This command will create a .js file of projectOne.

The next step is to run project-one.js (dist folder) in a local server with port 8070. I use Python for this.

Also, you should build projectTwo with this command:

npm run bundle

This command will create a .js file of projectTwo.

The next step is to run project-two.js (dist folder) in a local server with port 8080. I use Python for this.

Then the next step is to go in shell folder and run this command:

npm start

Description

ProjectOne exposes Dashboard Component which includes a table.

ProjectTwo exposes Form Component which includes a form.

By entering data in form and clicking submit, the submited data stored in Custom Event. Then we can retrieve these data inside DashboardComponent with Customer Event and show them inside the table.

About

Micro-Frontend Implementation using Web Components

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published