Quickstart
๐ฃ Write your Managed Componentโ
- Scaffold a new managed component project by runningFollowing the commandline setup wizard will result in a new folder in your current directory that contains a few key ingredients to get started writing your new managed component. It's pre-configured with:
npm init managed-component
- Add the content of your managed-component within the
src/index.ts
file of your newly created project.export default async function (manager, settings) {
// the Managed Component logic goes here
} - Build your component with
npm install
npm run build
๐งช Test your Managed Componentโ
Test your component with a Component Manager, such as the open-source WebCM.
๐ Share your Managed Componentโ
Let the community know about your managed component by making a PR to these docs so it can be shared in the Known Components list.