This example shows how you can create a component library application that exposes components for other apps to use.
For more information, visit the article explaining this project
app1
,app2
andapp3
are standalone applications that exposes its App file for reuse.app4
is the master Application that consumes bothapp1
,app2
andapp3
combined together.
Run npm install
and npm start
inside each module respectively. This will build and serve your apps on ports 3001, 3002, 3003 and 3004
Rendering is based on server-side technique. Each module exposes its complete src/App but routing based at the container app4
.