JSPM

datocms-plugin-taxonomy-tree-selector

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 10
  • Score
    100M100P100Q33512F

A plugin for DatoCMS that allows you to visualize a tree selector using the taxonomy of another model.

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (datocms-plugin-taxonomy-tree-selector) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    DatoCMS Taxonomy Tree Selector

    A plugin for DatoCMS that allows you to view a single selector taxonomy as a tree hieararchy.

    Configuration

    Add a read-only API to the global settings of the plugin, this is used to fetch the taxonomy. You need to create the taxonomy as a model where records can be orginized as a tree. It must contain a field called "name" which will be the name of the different nodes of the tree. In the model with the selector, add a single link, refrence the taxonomy model and add the plugin.

    Development

    The plugin is built using Vite.js. This enables a fast development workflow, where you see the changes as soon as you save a file. For it to work, it needs to be rendered inside the DatoCMS interface.