Skip to content

Latest commit

 

History

History
28 lines (13 loc) · 1.01 KB

File metadata and controls

28 lines (13 loc) · 1.01 KB

MicrofrontendWorkspace

This project was generated with Angular CLI version 12.0.1.

We use Angular Workspaces, it's not mandatory. But, I like it becouse it improves scafolding distribution and helps us to manage many microfrontend in the same repository and share utils (the demo hasn't that deep example).

Review here for the simpliest and default angular project without workspace.

Prerequisites

Make sure you have installed the latest LTS version of Node.js from https://nodejs.org, then:

Development server

  1. Open terminal on microfrontend-workspace directory.

  2. Run npm i.

  3. Run npm run start:weather-microfront.

  4. Navigate to http://localhost:4201/.

Build

Run bundle:weather-microfront to build the weather-microfront project. The dist/weather-microfront/main.js artifact is the microfrontend bundle to distribute to the host application.