0.1.0 • Published 10 months ago
tcg-boilerplates-mfe v0.1.0
My App
Steps to integrate another microfrontend into mfe host
- Add a new entry in the file
config/mf.manifest.json
for the new remote microfrontend, sayremote2
- Add new route entry in
src/app.tsx
for the new remote microfrontend. - Add routes from the new remote microfrontend into the route list at
src/routes.ts
. - Add assets from the new remote microfrontend into the assets map at
src/utils/assets-map.ts
. (NOTE: handle assetsMap and assetsMapOnServer)
npm run deployee :- start the server in the background and if we want to stop then npm run pm2:stop.
npm start | npm run start :- will start the server
npm run reload :-will stop and start again server.
0.1.0
10 months ago