This is a starter project to follow along with the toturial on how to integrate react with external applications.
It contains 2 projects:
counter-app- a simulation of an isolated stand-alone "mini app" or a widget.
main-app- a simulation of an external application to the react mini-app / widget.
running the projects
(this project is based on create-react-app)
cd main-app npm install npm start
cd counter-app npm install npm start
npm run build
note: the build proccess of
counter-app is modified, the output directory is targetting to "/main-app/public/counter_dist".