A self-reprogramming shield for React apps
Ecu is a Figma open-source alternative that allows React developers to create any app in a fraction of the time required to code it "manually".
It acts as a shield around your app to reprogram it as you create new components, style them, drag-and-drop them into the app, and so on.
- Create components
- Insert component in hierarchy
- Delete component from hierarchy
- Manage component imports
- Manage component prop types
- Manage global types
- Text editing
- Undo/Redo
- Component screenshots
- Packages management
- Design system
- Fonts and CSS variables management
- Favicon management
- Dark mode
- Interactive mode
- Style components
- Drag-and-drop components
- Props editing
- Routing
- State management
- Context management
- Delete component/file
- App ejection and build
And much more!
Run npm i in the root, packages/ecu, packages/ecu-client, and packages/ecu-server directories.
Run npm run dev in the packages/ecu, packages/ecu-server and packages/ecu-client directories.
Etheir:
- Use the shared dev Ecu app for a lot of boilerplate and use cases:
cd ..thengit clone [email protected]:dherault/ecu-app.gitthencd ecu-appthennpm ithencd appthennpm i. - Use a blank new Ecu app for a project creation developer experience: create an empty git repository at
../ecu-app(cd .. && mkdir ecu-app && cd ecu-app && git init). Runnpx ecu createinecu-app.
Go back to ../ecu and run npm run link. You Ecu app at ../ecu-app now uses the dev version of Ecu.
Finally, in ../ecu-app run npm run serve in a first terminal and npm run dev in another one. You can now open the link given by ViteJS to view the live app using Ecu. ๐
MIT