# tcg-boilerplates-mfe

> MFe host boiler plate

Latest version **0.1.0** (published 2023-07-18) · ISC license · 0 weekly downloads

## Install

```sh
npm install tcg-boilerplates-mfe
pnpm add tcg-boilerplates-mfe
yarn add tcg-boilerplates-mfe
bun add tcg-boilerplates-mfe
```

Provides the command `tcg-boilerplates-mfe`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2023-07-18 |
| First published | 2023-07-18 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 7 |
| Unpacked size | 39.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Devesh Pal Singh |
| Maintainers | deveshsingh |

## Links

- npm: https://www.npmjs.com/package/tcg-boilerplates-mfe
- npm.io page: https://npm.io/package/tcg-boilerplates-mfe

## Dependencies (7)

- [rxjs](https://npm.io/package/rxjs.md) ^7.8.1
- [react](https://npm.io/package/react.md) ^18.2.0
- [dotenv](https://npm.io/package/dotenv.md) ^16.0.3
- [express](https://npm.io/package/express.md) ^4.18.2
- [react-dom](https://npm.io/package/react-dom.md) ^18.2.0
- [react-router-dom](https://npm.io/package/react-router-dom.md) ^6.11.1
- [react-error-boundary](https://npm.io/package/react-error-boundary.md) ^4.0.4

## Recent versions

- 0.1.0 (latest) — 2023-07-18

## README

# My App

## Steps to integrate another microfrontend into mfe host
1. Add a new entry in the file `config/mf.manifest.json` for the new remote microfrontend, say `remote2`
2. Add new route entry in `src/app.tsx` for the new remote microfrontend.
3. Add routes from the new remote microfrontend into the route list at `src/routes.ts`.
4. 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.

---
_Source: https://npm.io/package/tcg-boilerplates-mfe · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
