| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||
This example demos a basic host/remote application with TypeScript and also streams types.
npm install --global yarn
yarnRun REMOTE_URL=http://localhost:4000 pnpm run start in root folder. This will build and serve both host and remote on ports 3000 and 4000 respectively.
Go to host service folder and run yarn test This is achieved using jest's moduleNameMapper by telling it how to resolve remote imports.
Go to host service folder and run yarn cypress This is achieved using webpack's resolve.alias by telling it how to resolve remote imports.
| Back | FazBrowse Home | New Git URL |