Notice the inconsistent spacing between the
<input />
box and the text. That is why it would be great to preview most (if not all) generated components at once!
This repo contains
src/MyAwesomeComponent.lite.tsx
)This script would watch
for changes in ./src
. When a change occurs, it compiles the Mitosis component to downstream components and copies cp
to ./test-app/src
for the Astro.js app to use.
npm run start
cd test-app/
npm run start
./src
🔥