Skip to content

Sampath-vi/host

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Host app

Installation

  1. git clone [email protected]:Sampath-vi/host.git
  2. cd host; npm install; npm start; - The app should start on port 8080.
  3. Replace the URL with the one where your remote server is running in webpack.config.js

Directory

  • This app consists of a single file which imports and uses the components from the remote app.

Webpack

  • The remote url and the exposed file remoteEntry.js is being added as a remote for the host app to access the remote resources.
  • Imports inside the app are being mapped to the key in webpack.config.js App.tsx
  • More on Module Federation - module-federation

Remote

Remote App

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published