https://github.com/imbios/lab-builder
https://github.com/imbios/lab-builder
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/imbios/lab-builder
- Owner: ImBIOS
- Created: 2024-11-18T09:49:35.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-11-18T09:50:43.000Z (7 months ago)
- Last Synced: 2025-03-19T07:49:50.550Z (3 months ago)
- Language: TypeScript
- Size: 162 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Mitosis Mono-repo Starter
This is a mono-repo for Mitosis libraries. It contains a few workspaces to get you started.
## Workspaces
- [library](./library/): workspace containing your Mitosis project.
- [library/src](./library/src/): Mitosis source code of your component library.
- [library/packages](./library/packages/): individual outputs generated by Mitosis.
- [test-apps](./test-apps/): dev servers that import your Mitosis components. Useful for testing your library.## Developing
1. Run Mitosis in watch mode
```bash
cd library
npm run start
```1. If the output has its own bundling step (like Svelte/Qwik), you will need to run that build step in a separate terminal:
```bash
cd library/packages/qwik
npm run build:watch
```1. Finally, run the corresponding test server of your library from the previous step to see your Mitosis project in action:
```bash
cd test-apps/qwik
npm run dev
```## Next up
If you want to add more outputs, or configure Mitosis in any way, you will need to update the `mitosis.config.js` file in the root of your project.
Check [our configuration docs](/docs/configuration.md) for how to setup the Mitosis config file.