Skip to content

vovanhau123/web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Micro Frontend Project

This project demonstrates a micro frontend architecture using a host app and a wallet app.

Quick Start

  1. Clone the repository:

    git clone [repository-url]
    cd [game]
    
  2. Open a terminal in the project root directory.

  3. Install dependencies and start the project:

    npm i
    npm start
    
  4. Enjoy the application!

Manual Start (If Quick Start Fails)

If you encounter issues with the quick start method, follow these steps:

Wallet App

  1. Open a terminal and navigate to the wallet-app directory:

    cd wallet-app
    
  2. Build the wallet app:

    npm run build
    
  3. Start the wallet app preview:

    npm run preview -- --port 5001
    

Host App

  1. Open a new terminal and navigate to the host-app directory:

    cd host-app
    
  2. Start the host app development server:

    npm run dev
    

Accessing the Application

Once both apps are running, you can access the micro frontend application at:

All items in the navigation menu are being used

Enjoy exploring the micro frontend architecture!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published