More Premium Hugo Themes Premium Nextjs Themes

Mf Next Chakra Poc_layout

This is POC for Module Federation with Next.js and Chakra UI.

Mf Next Chakra Poc_layout

This is POC for Module Federation with Next.js and Chakra UI.

Author Avatar Theme by alibek-gao
Github Stars Github Stars: 33
Last Commit Last Commit: May 13, 2023 -
First Commit Created: Dec 18, 2023 -
Mf Next Chakra Poc_layout screenshot

Overview

The “Stand With Ukraine Module Federation with Next.js and Chakra UI” is a proof of concept (POC) project that demonstrates the use of Module Federation with Next.js and Chakra UI. The project consists of three Next.js 13 applications, each serving a different purpose. The “layout” app runs on port 3000, the “content” app runs on port 3001, and the “shop” app runs on port 3002. The apps are bootstrapped with create-next-app, and the Module Federation configuration is based on examples from the module-federation-examples repository on GitHub. All components used in the project are taken from Chakra Templates.

Features

  • Module Federation with Next.js and Chakra UI
  • Three separate Next.js 13 applications
  • Bootstrapped with create-next-app
  • Customizable layout, content, and shop apps
  • Utilizes Chakra Templates for component styling

Installation

To install and run the project, follow these steps:

  1. Clone both the “layout” and “content” repositories.
  2. Navigate to the root directory of each repository in your terminal.
  3. Run the following command in each repository’s root directory to install the necessary dependencies:
npm install
  1. After the installation is complete, run the following command in each repository’s root directory to start the development server:
npm run dev
  1. Open your preferred web browser and go to http://localhost:3000 to see the result.

Summary

The “Stand With Ukraine Module Federation with Next.js and Chakra UI” is a POC project that showcases the integration of Module Federation with Next.js and Chakra UI. It consists of three separate Next.js 13 applications, each serving a distinct purpose. The project utilizes the create-next-app for bootstrapping and incorporates components from Chakra Templates for styling. By following the installation guide, users can easily clone and run the project to explore its features and functionality.