Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Micro-Frontend Implementation using Web Components

NotificationsYou must be signed in to change notification settings

skpanagiotis/mfe-multirepo-wb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Web Component

Multirepo Micro-Frontend Implementantion usingWeb 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 buildprojectOne 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 port8070. I use Python for this.

Also, you should buildprojectTwo 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 port8080. I use Python for this.

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

npm start

Description

ProjectOne exposesDashboard Component which includes a table.

ProjectTwo exposesForm Component which includes a form.

By entering data in form and clicking submit, the submited data stored inCustom Event. Then we can retrieve these data insideDashboardComponent withCustomer 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

[8]ページ先頭

©2009-2025 Movatter.jp