This repo contains a remote and consumer app template.
The remote
server exposes Button component. The consumer
app uses the components exposed by the remote
server.
Run the following in the terminal:
$ yarn install
$ yarn dev
Then open localhost:3000 in the browser - you should be able to see the button Remote Button
rendered from the remote
server
If the installation fails for @module-federation/nextjs-mf
package - ensure that you have a valid license to the @module-federation/nextjs-mf plugin
Buy & sell npm packages via privjs.com