An example micro frontends project in Flutter.
- PACKAGES/
- BASE_APP/
- CORE/
- DEPENDENCIES/
- MICRO_APPS/
To avoid issues, it's advisable that your development environment is equipped with the following versions:
Tool | Version |
---|---|
Git | latest |
Flutter (channel stable) | 3.22.0 |
Before you start, ensure you have the following installed and configured on your machine:
- Flutter: Follow the official Flutter installation guide to set up Flutter.
- Melos: It's a CLI tool for managing monorepos in Dart & Flutter. Follow the official Melos installation guide to set up Melos.
- ADB (Android Debug Bridge): ADB is a versatile command-line tool that lets you communicate with a device. It is included in the Android SDK Platform-Tools package. Follow the official instructions to install ADB.
With the tools properly installed, execute the commands below:
git clone https://github.com/dhianapereira/micro-frontends-example.git
cd micro-frontends-example
Start a mobile device emulator or connect your smartphone to the computer. Ensure that your device has USB debugging enabled. Run the application on your connected (or emulated).