This is an official starter template for creating a component for MultiUI.
This project is a monorepo that contains Next.js, Vue, Svelte and Angular apps.
In a sense, you create components in the packages
directory and then use them in the apps
directory.
We recommend you read our documentation on creating a component for MultiUI: https://multiui.org/docs/components/create-component
To get started, create your first component, then run the following command:
npm run dev
This will start a development server using Turborepo. There should be 5 instances running:
- Next.js App
- Vue App
- Svelte App
- Angular App
- TypeScript dev server watching your component!
We use turbo to manage our monorepo.
test your component, run the following command:
npm run test
build your component, run the following command:
npm run build
lint your component, run the following command:
npm run lint
To publish your component, we recommend you read our documentation on publishing a component for MultiUI: https://multiui.org/docs/components/publish-component
Read the todo.md file to see what's ready and what's not.