Place your components in src/components
directory.
According to Mitosis docs all components should have .lite.tsx
extension.
npm exec mitosis build
or
yarn build
🎉 You should have an output
directory with your compiled components in all frameworks specified in mitosis.config
For vue projects usage
yarn pack:vue
For angular projects usage
yarn pack:angular
- Mitosis docs: Check Mitosis documentation.
- Mitosis examples: Use this examples to better understanding shared components development.