Follow below steps to create and run microfrontend app:
Goto the folder location where you want to create the app
Open command prompt and run npx create-microfrontend-app [appname]
(please make sure you replace [appname] with your desired app nampe)
- Now a folder will be created with your app name. Navigate to the same throuh command prompt
cd [appname]
- Run
npm install
in command prompt
Once packages installations are done, run npm start
to run the app
run npm run build
To copy the output , goto public folder and copy [appname].js
You can upload [appname].js into your favourite cloud 😊
You can integrate [appname].js into microfrontend shell application
reach me out @: burla.rajesh2k8@gmail.com
happy coding 😊