Getting started
Create Micro Create App (CMRA) was created aiming to easy how we build microfrontend architecture.
Want to know more about microfrontends? Check this page.
Quick Start
npx @cmra/cli create my-app --app --microfrontend
cd my-app
npm start
Then open http://localhost:3000/ to see your app.
With this simple commands you can create your application containing one simple webapp connected with a microfrontend.
Folder structure
my-app
โโโ package.json
โโโ packages
| โโโ microfrontend # create-react-app structure folder
| | โโโ README.md
| | โโโ package.json
| | โโโ public
| | | โโโ favicon.ico
| | | โโโ index.html
| | | โโโ logo192.png
| | | โโโ logo512.png
| | | โโโ manifest.json
| | | โโโ robots.txt
| | โโโ src
| | | โโโ App.css
| | | โโโ App.js
| | | โโโ App.test.js
| | | โโโ index.css
| | | โโโ index.js
| | | โโโ logo.svg
| | | โโโ serviceWorker.js
| | | โโโ setupTests.js
| | โโโ yarn.lock
| โโโ webapp # create-react-app structure folder
| โโโ README.md
| โโโ package.json
| โโโ public
| | โโโ favicon.ico
| | โโโ index.html
| | โโโ logo192.png
| | โโโ logo512.png
| | โโโ manifest.json
| | โโโ microfrontends
| | | โโโ meta.json
| | โโโ robots.txt
| โโโ src
| | โโโ App.css
| | โโโ App.js
| | โโโ App.test.js
| | โโโ index.css
| | โโโ index.js
| | โโโ logo.svg
| | โโโ serviceWorker.js
| | โโโ setupTests.js
| โโโ yarn.lock
โโโ yarn.lock