@tailor-cms/ce-matching-question-server
v2.1.2
Published
Tailor CMS matching question server component
Keywords
Readme
@tailor-cms/ce-matching-question-server
Server-side module for the Matching Question content element in Tailor CMS.
Provides the server half of the element: state initialisation, lifecycle hooks and any AI configuration, registered by the Tailor server runtime.
Installation
npm install @tailor-cms/ce-matching-question-serverUsage
Content elements are normally registered with Tailor through the element registry rather than imported directly, but the package can be consumed on its own:
import serverModule from '@tailor-cms/ce-matching-question-server';Element
| Property | Value |
| --- | --- |
| Name | Matching Question |
| Type | MATCHING_QUESTION |
| Icon | mdi-table-merge-cells |
| Composite | Yes |
| Question | Yes |
Packages
This element ships as four packages, published together from the
ce-matching-question repository:
| Package | Role |
| --- | --- |
| @tailor-cms/ce-matching-question-manifest | Shared element definition |
| @tailor-cms/ce-matching-question-edit | Authoring component |
| @tailor-cms/ce-matching-question-display | End-user component |
| @tailor-cms/ce-matching-question-server | Server-side module |
Development
pnpm install
pnpm dev # start the Content Element Kit runtime
pnpm build # build all packages
pnpm test # Playwright end-to-end suiteChanges are released with changesets;
run pnpm changeset to record one.
