@remy90/payload-conditions-plugin
TypeScript icon, indicating that this package has built-in type declarations

0.2.2 • Public • Published

Payload conditions

This plugin provides criteria for conditional content, which can be specified by content writers. It uses existing payload select components and currently allows for boolean, multiple choice and input text string answer types.

[!IMPORTANT] This package is for v3 (currently in alpha) and above.

Installation

pnpm add payload-conditions-plugin

How to use

  • Add this package
  • Declare questions and answers from the question & answer pairs
  • Specify the question-answer combinations that results in a page being shown

If you've found this plugin helpful, please leave a star ⭐️

/@remy90/payload-conditions-plugin/

    Package Sidebar

    Install

    npm i @remy90/payload-conditions-plugin

    Weekly Downloads

    2

    Version

    0.2.2

    License

    MIT

    Unpacked Size

    243 kB

    Total Files

    147

    Last publish

    Collaborators

    • remy90