Skip to content

Module Federation with Typescript support and adapter function

Notifications You must be signed in to change notification settings

sunderhus/ModuleFederation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

If you would like to learn more about how this project works, please access the full presentation slides on Module Federation by Matheus Sunderhus: link to the presentation.

ModuleFederation Repository

Welcome to the ModuleFederation repository! This repository contains code and resources related to the ModuleFederation project, maintained by Matheus Sunderhus.

Overview

ModuleFederation is a project aimed at exploring and demonstrating the power of module federation in modern web development. The project showcases how to effectively use module federation to create scalable and maintainable applications.

Contents

The repository consists of the following directories and files:

  • /components: This directory contains the source code of federated components.
  • /host: Here, you can find a app that uses typescript support and consume federated modules from components app.
  • /host-with-tailwind: Same but with a extra of tailwind support.
  • README.md: You are currently reading the main README file, which provides an overview of the repository and its contents.

Getting Started

To get started with the ModuleFederation project, follow these steps:

  1. Clone the repository to your local machine using the following command:
git clone https://github.com/sunderhus/ModuleFederation.git
  1. Navigate to the project directory:
cd ModuleFederation
  1. Install the necessary dependencies on each project with:
npm install
yarn
  1. Start the development server on each project using:
npm run dev
yarn dev

This will launch the application in your default web browser. You can now explore the project and interact with the features.

Contributing

We welcome contributions from the community to make the ModuleFederation project even better. If you want to contribute, please follow these guidelines:

  1. Fork the repository and create a new branch for your feature or bug fix.
  2. Make your changes and ensure the code is well-tested.
  3. Commit your changes and push them to your fork.
  4. Open a pull request, describing the changes you made and their purpose.

VUE fan?

I got a repository with a VUE project to federate a complete app as a widget for others here

Issues

If you encounter any bugs, have questions, or want to suggest improvements, please feel free to open an issue on the repository. We appreciate your feedback and will address the concerns promptly.

License

ModuleFederation is licensed under the MIT License, which means you are free to use, modify, and distribute the code as long as you retain the original license header.

Contact

For any project-related inquiries or communication, you can reach out me at Matheus Sunderhus Linkedin

Thank you for your interest in the ModuleFederation universe! Happy coding!

About

Module Federation with Typescript support and adapter function

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published