Skip to content

This is the official template for creating MultiUI components.

License

Notifications You must be signed in to change notification settings

Multinite/multiui-component-template

Repository files navigation

MultiUI Component Template

This is an official starter template for creating a component for MultiUI.

What's inside

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.

How do I get started?

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!

Buidling, testing and linting

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

Publishing

To publish your component, we recommend you read our documentation on publishing a component for MultiUI: https://multiui.org/docs/components/publish-component

Is it ready?

Read the todo.md file to see what's ready and what's not.

About

This is the official template for creating MultiUI components.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published