In this repo i implements two next JS application using micro-frontend architecture.
- Clone this repo
- Run
npm run install
in root folder - Run
npm run dev
in root folder - Open
localhost:3001
in your browser
- Run
npm run build
in root folder - Run
npm run start
- Open
localhost:3001
in your browser
To deploy this application you need to run npm run build
and then npm run start
in root folder. After that you can deploy the dist
folder to your server.