Skip to content
This repository was archived by the owner on Dec 28, 2022. It is now read-only.
/ cuddly-robot Public archive

POC running Astro importing Svelte & React components generated by Mitosis

License

Notifications You must be signed in to change notification settings

ninetails/cuddly-robot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

8e0ed3b · Dec 15, 2022

History

17 Commits
Dec 14, 2022
Dec 15, 2022
Dec 14, 2022
Dec 14, 2022
Dec 14, 2022
Dec 14, 2022
Dec 15, 2022
Dec 14, 2022
Dec 14, 2022
Dec 15, 2022
Dec 15, 2022
Dec 14, 2022

Repository files navigation

Cuddly Robot

A monorepo with two packages, one is a component repository with just one component being exported using Mitosis. The other package is an Astro application importing a React and a Svelte component generated by Mitosis.

Installation

Just run at root

npm install

@ninetails-cuddly-robot/app-astro

Contains Astro app

Usage

To get development environment up, just run

cd packages/app-astro
npm run dev

You must have an exported component on @ninetails-cuddly-robot/components

@ninetails-cuddly-robot/components

Just made a Hello World component inside src/MyComponent.lite.tsx copied from Mitosis website.

Usage

To export a component, just run

cd packages/components
npm exec mitosis build

License

MIT

About

POC running Astro importing Svelte & React components generated by Mitosis

Topics

Resources

License

Stars

Watchers

Forks